Uses of Interface
io.atomix.primitive.operation.OperationId
| Package | Description |
|---|---|
| io.atomix.primitive.operation |
Provides classes and interfaces for defining distributed primitive operations.
|
| io.atomix.primitive.service |
Provides classes and interfaces for defining distributed primitive state machines.
|
-
Uses of OperationId in io.atomix.primitive.operation
Methods in io.atomix.primitive.operation that return OperationId Modifier and Type Method Description static OperationIdOperationId. command(String id)Returns a new command operation identifier.static OperationIdOperationId. from(String id, OperationType type)Returns a new operation identifier.OperationIdPrimitiveOperation. id()Returns the operation identifier.static OperationIdOperationId. query(String id)Returns a new query operation identifier.static OperationIdOperationId. simplify(OperationId operationId)Simplifies the given operation identifier.Methods in io.atomix.primitive.operation that return types with arguments of type OperationId Modifier and Type Method Description static Map<Method,OperationId>Operations. getMethodMap(Class<?> serviceInterface)Returns the collection of operations provided by the given service interface.static Map<OperationId,Method>Operations. getOperationMap(Class<?> serviceInterface)Returns the collection of operations provided by the given service interface.Methods in io.atomix.primitive.operation with parameters of type OperationId Modifier and Type Method Description static PrimitiveOperationPrimitiveOperation. operation(OperationId id)Creates a new primitive operation with a simplified identifier and a null value.static PrimitiveOperationPrimitiveOperation. operation(OperationId id, byte[] value)Creates a new primitive operation with a simplified identifier.static OperationIdOperationId. simplify(OperationId operationId)Simplifies the given operation identifier.Constructors in io.atomix.primitive.operation with parameters of type OperationId Constructor Description PrimitiveOperation(OperationId id, byte[] value) -
Uses of OperationId in io.atomix.primitive.service
Methods in io.atomix.primitive.service that return OperationId Modifier and Type Method Description OperationIdCommit. operation()Returns the operation identifier.Methods in io.atomix.primitive.service with parameters of type OperationId Modifier and Type Method Description voidServiceExecutor. handle(OperationId operationId, java.util.function.Function<Commit<byte[]>,byte[]> callback)Registers a operation callback.default voidServiceExecutor. register(OperationId operationId, Runnable 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.<R> voidServiceExecutor. register(OperationId operationId, java.util.function.Supplier<R> callback)Registers a no argument operation callback.