Uses of Interface
io.atomix.primitive.service.Commit
| Package | Description |
|---|---|
| io.atomix.primitive.service |
Provides classes and interfaces for defining distributed primitive state machines.
|
-
Uses of Commit in io.atomix.primitive.service
Methods in io.atomix.primitive.service that return Commit Modifier and Type Method Description <U> Commit<U>Commit. map(java.util.function.Function<T,U> transcoder)Converts the commit from one type to another.Commit<Void>Commit. mapToNull()Converts the commit to a null valued commit.Methods in io.atomix.primitive.service with parameters of type Commit Modifier and Type Method Description byte[]AbstractPrimitiveService. apply(Commit<byte[]> commit)byte[]PrimitiveService. apply(Commit<byte[]> commit)Applies a commit to the state machine.byte[]ServiceExecutor. apply(Commit<byte[]> commit)Applies the given commit to the executor.Method parameters in io.atomix.primitive.service with type arguments of type Commit Modifier and Type Method Description voidServiceExecutor. handle(OperationId operationId, java.util.function.Function<Commit<byte[]>,byte[]> callback)Registers a operation callback.<T> voidServiceExecutor. register(OperationId operationId, java.util.function.Consumer<Commit<T>> callback)Registers a operation callback.<T, R> voidServiceExecutor. register(OperationId operationId, java.util.function.Function<Commit<T>,R> callback)Registers an operation callback.