Interface TransformResult<T>
-
- Type Parameters:
T
- The type of the value returned by the transform.
@Immutable public interface TransformResult<T>
Indicates the result of a coordination service transform call. Regardless of whether the transformation was successful and managed to install the new value, as requested by the user, the result will always contain the current value. Users should retry the operation accordingly if they care about their particular operation succeeding.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static <T> TransformResult<T>
of(boolean successful, T value)
boolean
successful()
T
value()
-
-
-
Method Detail
-
successful
@Parameter boolean successful()
-
value
@Parameter T value()
-
of
static <T> TransformResult<T> of(boolean successful, T value)
-
-