public interface FlagValueCalculator<T>
ExperimentState.
Clients do not typically work with this interface directly, but rather access it through the
ExperimentState.get(com.cloudera.gertrude.ExperimentFlag<T>) method for retrieving and caching the values of ExperimentFlag
instances.
| Modifier and Type | Method and Description |
|---|---|
FlagValue<T> |
apply(ExperimentState state)
Compute the value of this flag for the given
ExperimentState. |
FlagValue<T> apply(ExperimentState state)
ExperimentState.state - the current stateFlagValue containing the calculated value and its ConditionLevel.Copyright © 2013. All rights reserved.