-
public interface IConsistencyManager
-
-
Method Summary
Modifier and Type Method Description abstract UnitsetRywData(String id, IConsistencyKeyEnum key, RywData value)Set method to update the RYW token based on the key. abstract CompletableDeferred<RywData>getRywDataFromAwaitableCondition(ICondition condition)Register a condition with its corresponding deferred action. abstract UnitresolveConditionsWithID(String id)Resolve all conditions with a specific ID -
-
Method Detail
-
setRywData
abstract Unit setRywData(String id, IConsistencyKeyEnum key, RywData value)
Set method to update the RYW token based on the key. Params: id: String - the index of the RYW token map (e.g., onesignalId) key: IConsistencyKeyEnum - corresponds to the operation for which we have a read-your-write token value: String? - the read-your-write token
-
getRywDataFromAwaitableCondition
abstract CompletableDeferred<RywData> getRywDataFromAwaitableCondition(ICondition condition)
Register a condition with its corresponding deferred action. Returns a deferred condition. Params: condition: ICondition - the condition to be registered Returns: CompletableDeferred<String?> - a deferred action that completes when the condition is met
-
resolveConditionsWithID
abstract Unit resolveConditionsWithID(String id)
Resolve all conditions with a specific ID
-
-
-
-