Class LocalBucketing
java.lang.Object
com.devcycle.sdk.server.local.bucketing.LocalBucketing
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionflushEventQueue(String sdkKey) generateBucketedConfig(String sdkKey, DevCycleUser user) getConfigMetadata(String sdkKey) intgetEventQueueSize(String sdkKey) byte[]getVariableForUserProtobuf(byte[] serializedParams) voidinitEventQueue(String sdkKey, String clientUUID, String options) voidonPayloadFailure(String sdkKey, String payloadId, boolean retryable) voidonPayloadSuccess(String sdkKey, String payloadId) voidqueueAggregateEvent(String sdkKey, String event, String variableVariationMap) voidqueueEvent(String sdkKey, String user, String event) voidsetClientCustomData(String sdkKey, String customData) voidsetPlatformData(String platformData) voidstoreConfig(String sdkKey, String config)
-
Constructor Details
-
LocalBucketing
public LocalBucketing()
-
-
Method Details
-
storeConfig
-
setPlatformData
-
setClientCustomData
-
generateBucketedConfig
public BucketedUserConfig generateBucketedConfig(String sdkKey, DevCycleUser user) throws com.fasterxml.jackson.core.JsonProcessingException - Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
getVariableForUserProtobuf
public byte[] getVariableForUserProtobuf(byte[] serializedParams) -
initEventQueue
-
queueEvent
-
queueAggregateEvent
-
flushEventQueue
public FlushPayload[] flushEventQueue(String sdkKey) throws com.fasterxml.jackson.core.JsonProcessingException - Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
onPayloadFailure
-
onPayloadSuccess
-
getEventQueueSize
-
getConfigMetadata
-