Interface LDReactorClientInterface
-
- All Known Implementing Classes:
LDReactorClient
public interface LDReactorClientInterfaceA version ofLDClientthat is adapted to support reactive stream programming.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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()SeeLDClient.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)voidflush()SeeLDClient.flush().BigSegmentStoreStatusProvidergetBigSegmentStoreStatusProvider()DataSourceStatusProvidergetDataSourceStatusProvider()DataStoreStatusProvidergetDataStoreStatusProvider()FlagTrackergetFlagTracker()voididentify(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)booleanisFlagKnown(java.lang.String featureKey)booleanisInitialized()booleanisOffline()SeeLDClient.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.StringsecureModeHash(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)voidtrack(java.lang.String eventName, LDContext context)voidtrackData(java.lang.String eventName, LDContext context, LDValue data)voidtrackMetric(java.lang.String eventName, LDContext context, LDValue data, double metricValue)java.lang.Stringversion()SeeLDClient.version().
-
-
-
Method Detail
-
isInitialized
boolean isInitialized()
- Returns:
- see linked reference.
-
track
void track(java.lang.String eventName, LDContext context)- Parameters:
eventName- see linked reference.context- see linked reference.
-
trackData
void trackData(java.lang.String eventName, LDContext context, LDValue data)- Parameters:
eventName- see linked reference.context- see linked reference.data- see linked reference.
-
trackMetric
void trackMetric(java.lang.String eventName, LDContext context, LDValue data, double metricValue)- Parameters:
eventName- see linked reference.context- see linked reference.data- see linked reference.metricValue- see linked reference.
-
identify
void identify(LDContext context)
- Parameters:
context- see linked reference.
-
allFlagsState
reactor.core.publisher.Mono<FeatureFlagsState> allFlagsState(LDContext context, FlagsStateOption... options)
- Parameters:
context- see linked reference.options- see linked reference.- Returns:
- a
Monothat will emit theFeatureFlagsState.
-
boolVariation
reactor.core.publisher.Mono<java.lang.Boolean> boolVariation(java.lang.String featureKey, LDContext context, boolean defaultValue)- Parameters:
featureKey- see linked reference.context- see linked reference.defaultValue- see linked reference.- Returns:
- a
Monothat will emit the evaluation result.
-
intVariation
reactor.core.publisher.Mono<java.lang.Integer> intVariation(java.lang.String featureKey, LDContext context, int defaultValue)- Parameters:
featureKey- see linked reference.context- see linked reference.defaultValue- see linked reference.- Returns:
- a
Monothat will emit the evaluation result.
-
doubleVariation
reactor.core.publisher.Mono<java.lang.Double> doubleVariation(java.lang.String featureKey, LDContext context, double defaultValue)- Parameters:
featureKey- see linked reference.context- see linked reference.defaultValue- see linked reference.- Returns:
- a
Monothat will emit the evaluation result.
-
stringVariation
reactor.core.publisher.Mono<java.lang.String> stringVariation(java.lang.String featureKey, LDContext context, java.lang.String defaultValue)- Parameters:
featureKey- see linked reference.context- see linked reference.defaultValue- see linked reference.- Returns:
- a
Monothat will emit the evaluation result.
-
jsonValueVariation
reactor.core.publisher.Mono<LDValue> jsonValueVariation(java.lang.String featureKey, LDContext context, LDValue defaultValue)
- Parameters:
featureKey- see linked reference.context- see linked reference.defaultValue- see linked reference.- Returns:
- a
Monothat will emit the evaluation result.
-
boolVariationDetail
reactor.core.publisher.Mono<EvaluationDetail<java.lang.Boolean>> boolVariationDetail(java.lang.String featureKey, LDContext context, boolean defaultValue)
- Parameters:
featureKey- see linked reference.context- see linked reference.defaultValue- see linked reference.- Returns:
- a
Monothat will emit the evaluation result.
-
intVariationDetail
reactor.core.publisher.Mono<EvaluationDetail<java.lang.Integer>> intVariationDetail(java.lang.String featureKey, LDContext context, int defaultValue)
- Parameters:
featureKey- see linked reference.context- see linked reference.defaultValue- see linked reference.- Returns:
- a
Monothat will emit the evaluation result.
-
doubleVariationDetail
reactor.core.publisher.Mono<EvaluationDetail<java.lang.Double>> doubleVariationDetail(java.lang.String featureKey, LDContext context, double defaultValue)
- Parameters:
featureKey- see linked reference.context- see linked reference.defaultValue- see linked reference.- Returns:
- a
Monothat will emit the evaluation result.
-
stringVariationDetail
reactor.core.publisher.Mono<EvaluationDetail<java.lang.String>> stringVariationDetail(java.lang.String featureKey, LDContext context, java.lang.String defaultValue)
- Parameters:
featureKey- see linked reference.context- see linked reference.defaultValue- see linked reference.- Returns:
- a
Monothat will emit the evaluation result.
-
jsonValueVariationDetail
reactor.core.publisher.Mono<EvaluationDetail<LDValue>> jsonValueVariationDetail(java.lang.String featureKey, LDContext context, LDValue defaultValue)
- Parameters:
featureKey- see linked reference.context- see linked reference.defaultValue- see linked reference.- Returns:
- a
Monothat will emit the evaluation result.
-
isFlagKnown
boolean isFlagKnown(java.lang.String featureKey)
- Parameters:
featureKey- see linked reference.- Returns:
- see linked reference.
-
getFlagTracker
FlagTracker getFlagTracker()
- Returns:
- see linked reference.
-
getBigSegmentStoreStatusProvider
BigSegmentStoreStatusProvider getBigSegmentStoreStatusProvider()
SeeLDClient.getBigSegmentStoreStatusProvider(). Getting theBigSegmentStoreStatusProvideris not a blocking operation, but function calls on theBigSegmentStoreStatusProvidermay be.- Returns:
- see linked reference.
-
getDataStoreStatusProvider
DataStoreStatusProvider getDataStoreStatusProvider()
SeeLDClient.getDataStoreStatusProvider(). Getting theDataStoreStatusProvideris not a blocking operation, but function calls on theDataStoreStatusProvidermay be.- Returns:
- see linked reference.
-
getDataSourceStatusProvider
DataSourceStatusProvider getDataSourceStatusProvider()
SeeLDClient.getDataSourceStatusProvider(). Getting theDataSourceStatusProvideris not a blocking operation, but function calls on theDataSourceStatusProvidermay be.- Returns:
- see linked reference.
-
close
reactor.core.publisher.Mono<java.lang.Void> close()
SeeLDClient.close().- Returns:
- a Mono that completes when
LDClient.close()completes.
-
flush
void flush()
SeeLDClient.flush().
-
isOffline
boolean isOffline()
SeeLDClient.isOffline().- Returns:
- see linked reference.
-
secureModeHash
java.lang.String secureModeHash(LDContext context)
- Parameters:
context- see linked reference.- Returns:
- see linked reference.
-
version
java.lang.String version()
SeeLDClient.version().- Returns:
- see linked reference.
-
-