public static interface StateSnapshotTransformer.StateSnapshotTransformFactory<T>
If there is no transforming needed, the factory methods return Optional.empty()
.
Modifier and Type | Field and Description |
---|---|
static StateSnapshotTransformer.StateSnapshotTransformFactory<?> |
NO_TRANSFORM |
Modifier and Type | Method and Description |
---|---|
Optional<StateSnapshotTransformer<T>> |
createForDeserializedState() |
Optional<StateSnapshotTransformer<byte[]>> |
createForSerializedState() |
static <T> StateSnapshotTransformer.StateSnapshotTransformFactory<T> |
createNoTransform() |
static <T> StateSnapshotTransformer.StateSnapshotTransformFactory<T> |
noTransform() |
static final StateSnapshotTransformer.StateSnapshotTransformFactory<?> NO_TRANSFORM
static <T> StateSnapshotTransformer.StateSnapshotTransformFactory<T> noTransform()
static <T> StateSnapshotTransformer.StateSnapshotTransformFactory<T> createNoTransform()
Optional<StateSnapshotTransformer<T>> createForDeserializedState()
Optional<StateSnapshotTransformer<byte[]>> createForSerializedState()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.