-
- All Implemented Interfaces:
-
com.onesignal.common.consistency.models.ICondition
public final class IamFetchReadyCondition implements ICondition
Used for read your write consistency when fetching In-App Messages.
Params: key : String - the index of the RYW token map
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classIamFetchReadyCondition.Companion
-
Constructor Summary
Constructors Constructor Description IamFetchReadyCondition(String key)
-
Method Summary
Modifier and Type Method Description StringgetId()BooleanisMet(Map<String, Map<IConsistencyKeyEnum, RywData>> indexedTokens)Define a condition that "unblocks" execution e.g. RywDatagetRywData(Map<String, Map<IConsistencyKeyEnum, RywData>> indexedTokens)Used to process tokens according to their format & return the newest token. -
-
Constructor Detail
-
IamFetchReadyCondition
IamFetchReadyCondition(String key)
-
-
Method Detail
-
isMet
Boolean isMet(Map<String, Map<IConsistencyKeyEnum, RywData>> indexedTokens)
Define a condition that "unblocks" execution e.g. we have token (A && B) || A
-
getRywData
RywData getRywData(Map<String, Map<IConsistencyKeyEnum, RywData>> indexedTokens)
Used to process tokens according to their format & return the newest token. e.g. numeric strings would be compared differently from JWT tokens
-
-
-
-