T - type of state@FunctionalInterface @NotThreadSafe public interface StateSnapshotTransformer<T>
This transformer can be applied to state values to decide which entries should be included into the snapshot. The included entries can be optionally modified before.
Unless specified differently, the transformer should be applied per entry for collection types of state, like list or map.
| 限定符和类型 | 接口和说明 |
|---|---|
static interface |
StateSnapshotTransformer.CollectionStateSnapshotTransformer<T>
Collection state specific transformer which says how to transform entries of the collection.
|
static interface |
StateSnapshotTransformer.StateSnapshotTransformFactory<T>
This factory creates state transformers depending on the form of values to transform.
|
| 限定符和类型 | 方法和说明 |
|---|---|
T |
filterOrTransform(T value)
Transform or filter out state values which are included or skipped in the snapshot.
|
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.