SamplingState
A serializable snapshot of an Executor's ExecutorState.
Saved with a SmartphoneStudy so sampling can be restored in the same state after an app restart. See SmartphoneDeploymentExecutorSamplingState for the full state of a deployment.
- Inheritance
-
- Object
- Serializable
- SamplingState
- Implementers
- Annotations
-
- @JsonSerializable(includeIfNull: false, explicitToJson: true)
Constructors
SamplingState.fromJson
SamplingState
- ExecutorState state
Properties
fromJsonFunction
The function which can convert a JSON string to an object of this type.
state
getter/setter pair
The runtime state of this executor.
Methods
toJson
Return a JSON encoding of this object.