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.
Modifier and Type | Interface and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
T |
filterOrTransform(T value)
Transform or filter out state values which are included or skipped in the snapshot.
|
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.