public final class ExperimentSpace extends Object
ExperimentFlagSettings, Layers and Segments that are available
for an ExperimentState to be diverted into by the ExperimentHandler.
Clients should not use this class directly; the framework creates a new ExperimentSpace instance
by analyzing and validating the serialized definition of flags, layers, experiments, and domains that is
configured for this binary by the ExperimentSpaceLoader and ExperimentSpaceDeserializer,
validates the configuration, and then swaps it in to the ExperimentHandler for serving new requests
based on any new experiment definitions.
| Modifier and Type | Class and Description |
|---|---|
static class |
ExperimentSpace.Serialized
A container for the serialized form of the configuration data used to create a new
ExperimentSpace. |
| Constructor and Description |
|---|
ExperimentSpace(String versionIdentifier,
Map<String,? extends FlagValueCalculator<Object>> baseSettings,
Map<Integer,Segment> allSegments,
List<DiversionCriterion> diversionCriteria,
List<Layer> allLayers) |
Copyright © 2013. All rights reserved.