public interface LDReactorClientInterface
LDClient
that is adapted to support reactive stream programming.Modifier and Type | Method and Description |
---|---|
reactor.core.publisher.Mono<FeatureFlagsState> |
allFlagsState(LDContext context,
FlagsStateOption... options)
|
reactor.core.publisher.Mono<java.lang.Boolean> |
boolVariation(java.lang.String featureKey,
LDContext context,
boolean defaultValue)
|
reactor.core.publisher.Mono<EvaluationDetail<java.lang.Boolean>> |
boolVariationDetail(java.lang.String featureKey,
LDContext context,
boolean defaultValue)
|
reactor.core.publisher.Mono<java.lang.Void> |
close()
See
LDClient.close() . |
reactor.core.publisher.Mono<java.lang.Double> |
doubleVariation(java.lang.String featureKey,
LDContext context,
double defaultValue)
|
reactor.core.publisher.Mono<EvaluationDetail<java.lang.Double>> |
doubleVariationDetail(java.lang.String featureKey,
LDContext context,
double defaultValue)
|
void |
flush()
See
LDClient.flush() . |
BigSegmentStoreStatusProvider |
getBigSegmentStoreStatusProvider()
|
DataSourceStatusProvider |
getDataSourceStatusProvider()
|
DataStoreStatusProvider |
getDataStoreStatusProvider()
|
FlagTracker |
getFlagTracker()
|
void |
identify(LDContext context)
|
reactor.core.publisher.Mono<java.lang.Integer> |
intVariation(java.lang.String featureKey,
LDContext context,
int defaultValue)
|
reactor.core.publisher.Mono<EvaluationDetail<java.lang.Integer>> |
intVariationDetail(java.lang.String featureKey,
LDContext context,
int defaultValue)
|
boolean |
isFlagKnown(java.lang.String featureKey)
|
boolean |
isInitialized()
|
boolean |
isOffline()
See
LDClient.isOffline() . |
reactor.core.publisher.Mono<LDValue> |
jsonValueVariation(java.lang.String featureKey,
LDContext context,
LDValue defaultValue)
|
reactor.core.publisher.Mono<EvaluationDetail<LDValue>> |
jsonValueVariationDetail(java.lang.String featureKey,
LDContext context,
LDValue defaultValue)
|
java.lang.String |
secureModeHash(LDContext context)
|
reactor.core.publisher.Mono<java.lang.String> |
stringVariation(java.lang.String featureKey,
LDContext context,
java.lang.String defaultValue)
|
reactor.core.publisher.Mono<EvaluationDetail<java.lang.String>> |
stringVariationDetail(java.lang.String featureKey,
LDContext context,
java.lang.String defaultValue)
|
void |
track(java.lang.String eventName,
LDContext context)
|
void |
trackData(java.lang.String eventName,
LDContext context,
LDValue data)
|
void |
trackMetric(java.lang.String eventName,
LDContext context,
LDValue data,
double metricValue)
|
java.lang.String |
version()
See
LDClient.version() . |
boolean isInitialized()
void track(java.lang.String eventName, LDContext context)
eventName
- see linked reference.context
- see linked reference.void trackData(java.lang.String eventName, LDContext context, LDValue data)
eventName
- see linked reference.context
- see linked reference.data
- see linked reference.void trackMetric(java.lang.String eventName, LDContext context, LDValue data, double metricValue)
eventName
- see linked reference.context
- see linked reference.data
- see linked reference.metricValue
- see linked reference.void identify(LDContext context)
context
- see linked reference.reactor.core.publisher.Mono<FeatureFlagsState> allFlagsState(LDContext context, FlagsStateOption... options)
context
- see linked reference.options
- see linked reference.Mono
that will emit the FeatureFlagsState
.reactor.core.publisher.Mono<java.lang.Boolean> boolVariation(java.lang.String featureKey, LDContext context, boolean defaultValue)
featureKey
- see linked reference.context
- see linked reference.defaultValue
- see linked reference.Mono
that will emit the evaluation result.reactor.core.publisher.Mono<java.lang.Integer> intVariation(java.lang.String featureKey, LDContext context, int defaultValue)
featureKey
- see linked reference.context
- see linked reference.defaultValue
- see linked reference.Mono
that will emit the evaluation result.reactor.core.publisher.Mono<java.lang.Double> doubleVariation(java.lang.String featureKey, LDContext context, double defaultValue)
featureKey
- see linked reference.context
- see linked reference.defaultValue
- see linked reference.Mono
that will emit the evaluation result.reactor.core.publisher.Mono<java.lang.String> stringVariation(java.lang.String featureKey, LDContext context, java.lang.String defaultValue)
featureKey
- see linked reference.context
- see linked reference.defaultValue
- see linked reference.Mono
that will emit the evaluation result.reactor.core.publisher.Mono<LDValue> jsonValueVariation(java.lang.String featureKey, LDContext context, LDValue defaultValue)
featureKey
- see linked reference.context
- see linked reference.defaultValue
- see linked reference.Mono
that will emit the evaluation result.reactor.core.publisher.Mono<EvaluationDetail<java.lang.Boolean>> boolVariationDetail(java.lang.String featureKey, LDContext context, boolean defaultValue)
featureKey
- see linked reference.context
- see linked reference.defaultValue
- see linked reference.Mono
that will emit the evaluation result.reactor.core.publisher.Mono<EvaluationDetail<java.lang.Integer>> intVariationDetail(java.lang.String featureKey, LDContext context, int defaultValue)
featureKey
- see linked reference.context
- see linked reference.defaultValue
- see linked reference.Mono
that will emit the evaluation result.reactor.core.publisher.Mono<EvaluationDetail<java.lang.Double>> doubleVariationDetail(java.lang.String featureKey, LDContext context, double defaultValue)
featureKey
- see linked reference.context
- see linked reference.defaultValue
- see linked reference.Mono
that will emit the evaluation result.reactor.core.publisher.Mono<EvaluationDetail<java.lang.String>> stringVariationDetail(java.lang.String featureKey, LDContext context, java.lang.String defaultValue)
featureKey
- see linked reference.context
- see linked reference.defaultValue
- see linked reference.Mono
that will emit the evaluation result.reactor.core.publisher.Mono<EvaluationDetail<LDValue>> jsonValueVariationDetail(java.lang.String featureKey, LDContext context, LDValue defaultValue)
featureKey
- see linked reference.context
- see linked reference.defaultValue
- see linked reference.Mono
that will emit the evaluation result.boolean isFlagKnown(java.lang.String featureKey)
featureKey
- see linked reference.FlagTracker getFlagTracker()
BigSegmentStoreStatusProvider getBigSegmentStoreStatusProvider()
LDClient.getBigSegmentStoreStatusProvider()
. Getting the BigSegmentStoreStatusProvider
is
not a blocking operation, but function calls on the BigSegmentStoreStatusProvider
may be.DataStoreStatusProvider getDataStoreStatusProvider()
LDClient.getDataStoreStatusProvider()
. Getting the DataStoreStatusProvider
is not a blocking
operation, but function calls on the DataStoreStatusProvider
may be.DataSourceStatusProvider getDataSourceStatusProvider()
LDClient.getDataSourceStatusProvider()
. Getting the DataSourceStatusProvider
is not a
blocking operation, but function calls on the DataSourceStatusProvider
may be.reactor.core.publisher.Mono<java.lang.Void> close()
LDClient.close()
.LDClient.close()
completes.void flush()
LDClient.flush()
.boolean isOffline()
LDClient.isOffline()
.java.lang.String secureModeHash(LDContext context)
context
- see linked reference.java.lang.String version()
LDClient.version()
.