- get(String) - Method in class io.atomix.primitive.PrimitiveTypeRegistry
-
Returns a primitive type by name.
- getClusterService() - Method in interface io.atomix.primitive.partition.PartitionManagementService
-
Returns the cluster service.
- getClusterService() - Method in interface io.atomix.primitive.PrimitiveManagementService
-
Returns the cluster service.
- getCommunicationService() - Method in interface io.atomix.primitive.partition.PartitionManagementService
-
Returns the cluster communication service.
- getCommunicationService() - Method in interface io.atomix.primitive.PrimitiveManagementService
-
Returns the cluster communication service.
- getDefaultPartitionGroup() - Method in interface io.atomix.primitive.partition.PartitionService
-
Returns the default partition group.
- getElectionFor(PartitionId) - Method in interface io.atomix.primitive.partition.PrimaryElectionService
-
Returns the primary election for the given partition identifier.
- getElectionService() - Method in interface io.atomix.primitive.partition.PartitionManagementService
-
Returns the primary election service.
- getEventService() - Method in interface io.atomix.primitive.PrimitiveManagementService
-
Returns the cluster event service.
- getMetadataService() - Method in interface io.atomix.primitive.partition.PartitionManagementService
-
Returns the cluster metadata service.
- getPartition(PartitionId) - Method in interface io.atomix.primitive.partition.PartitionGroup
-
Returns a partition by ID.
- getPartition(String) - Method in interface io.atomix.primitive.partition.PartitionGroup
-
Returns the partition for the given key.
- getPartitionGroup(String) - Method in interface io.atomix.primitive.partition.PartitionService
-
Returns a partition group by name.
- getPartitionGroup(PrimitiveProtocol.Type) - Method in interface io.atomix.primitive.partition.PartitionService
-
Returns the first partition group that matches the given primitive type.
- getPartitionGroup(PrimitiveProtocol) - Method in interface io.atomix.primitive.partition.PartitionService
-
Returns the first partition group that matches the given primitive protocol.
- getPartitionGroups() - Method in interface io.atomix.primitive.partition.PartitionService
-
Returns a collection of all partition groups.
- getPartitionIds() - Method in interface io.atomix.primitive.partition.PartitionGroup
-
Returns a sorted list of partition IDs.
- getPartitions() - Method in interface io.atomix.primitive.partition.PartitionGroup
-
Returns a collection of all partitions.
- getPartitionService() - Method in interface io.atomix.primitive.PrimitiveManagementService
-
Returns the partition service.
- getPrimitiveClient() - Method in interface io.atomix.primitive.partition.Partition
-
Returns the primitive client for the partition.
- getPrimitives(PrimitiveType) - Method in interface io.atomix.primitive.PrimitiveClient
-
Gets a list of primitives of the given type.
- getPrimitiveTypes() - Method in interface io.atomix.primitive.partition.PartitionManagementService
-
Returns the primitive type registry.
- getSession(long) - Method in interface io.atomix.primitive.session.Sessions
-
Returns a session by session ID.
- getSessionIdService() - Method in interface io.atomix.primitive.partition.PartitionManagementService
-
Returns the session ID generator service.
- getState() - Method in interface io.atomix.primitive.proxy.PrimitiveProxy
-
Returns the session state.
- getState() - Method in interface io.atomix.primitive.session.Session
-
Returns the session state.
- getTerm() - Method in interface io.atomix.primitive.partition.PrimaryElection
-
Returns the current term.
- group() - Method in class io.atomix.primitive.partition.PartitionId
-
Returns the partition group name.
- group() - Method in interface io.atomix.primitive.PrimitiveProtocol
-
Returns the protocol group name.
- Partition<P extends PrimitiveProtocol> - Interface in io.atomix.primitive.partition
-
Atomix partition.
- partition(K) - Method in interface io.atomix.primitive.partition.Partitioner
-
Returns the partition ID to which the specified object maps.
- Partitioner<K> - Interface in io.atomix.primitive.partition
-
Interface for mapping from an object to partition ID.
- PartitionGroup - Interface in io.atomix.primitive.partition
-
Primitive partition group.
- PartitionGroup.Builder - Class in io.atomix.primitive.partition
-
Partition group builder.
- PartitionId - Class in io.atomix.primitive.partition
-
- PartitionId(String, int) - Constructor for class io.atomix.primitive.partition.PartitionId
-
Creates a partition identifier from an integer.
- PartitionInfo - Class in io.atomix.primitive.partition
-
Partition info.
- PartitionInfo(long, NodeId, Collection<NodeId>) - Constructor for class io.atomix.primitive.partition.PartitionInfo
-
- PartitionManagementService - Interface in io.atomix.primitive.partition
-
Partition management service.
- PartitionMetadata - Class in io.atomix.primitive.partition
-
A partition or shard is a group of controller nodes that are work together to maintain state.
- PartitionMetadata(PartitionId, Collection<NodeId>) - Constructor for class io.atomix.primitive.partition.PartitionMetadata
-
- PartitionService - Interface in io.atomix.primitive.partition
-
Partition service.
- persistence() - Method in class io.atomix.primitive.DistributedPrimitiveBuilder
-
Returns the primitive persistence level.
- Persistence - Enum in io.atomix.primitive
-
Persistence level.
- primary() - Method in interface io.atomix.primitive.partition.Partition
-
Returns the partition's current primary.
- primary() - Method in class io.atomix.primitive.partition.PartitionInfo
-
Returns the partition's primary node.
- primary() - Method in class io.atomix.primitive.partition.PrimaryTerm
-
Returns the primary node identifier.
- PrimaryElection - Interface in io.atomix.primitive.partition
-
Partition primary election.
- PrimaryElectionEvent - Class in io.atomix.primitive.partition
-
Primary election event.
- PrimaryElectionEvent(PrimaryElectionEvent.Type, PrimaryTerm) - Constructor for class io.atomix.primitive.partition.PrimaryElectionEvent
-
- PrimaryElectionEvent.Type - Enum in io.atomix.primitive.partition
-
Returns the election event type.
- PrimaryElectionEventListener - Interface in io.atomix.primitive.partition
-
Primary election event listener.
- PrimaryElectionService - Interface in io.atomix.primitive.partition
-
Primary election service.
- PrimaryTerm - Class in io.atomix.primitive.partition
-
Partition primary term.
- PrimaryTerm(long, NodeId, List<NodeId>) - Constructor for class io.atomix.primitive.partition.PrimaryTerm
-
- PrimitiveClient<P extends PrimitiveProtocol> - Interface in io.atomix.primitive
-
Primitive client.
- PrimitiveEvent - Class in io.atomix.primitive.event
-
Raft event.
- PrimitiveEvent(EventType, byte[]) - Constructor for class io.atomix.primitive.event.PrimitiveEvent
-
- PrimitiveException - Exception in io.atomix.primitive
-
Top level exception for Store failures.
- PrimitiveException() - Constructor for exception io.atomix.primitive.PrimitiveException
-
- PrimitiveException(String) - Constructor for exception io.atomix.primitive.PrimitiveException
-
- PrimitiveException(Throwable) - Constructor for exception io.atomix.primitive.PrimitiveException
-
- PrimitiveException.ClosedSession - Exception in io.atomix.primitive
-
Closed session exception.
- PrimitiveException.CommandFailure - Exception in io.atomix.primitive
-
Command failure exception.
- PrimitiveException.ConcurrentModification - Exception in io.atomix.primitive
-
Store update conflicts with an in flight transaction.
- PrimitiveException.Interrupted - Exception in io.atomix.primitive
-
Store operation interrupted.
- PrimitiveException.QueryFailure - Exception in io.atomix.primitive
-
Query failure exception.
- PrimitiveException.ServiceException - Exception in io.atomix.primitive
-
Primitive service exception.
- PrimitiveException.Timeout - Exception in io.atomix.primitive
-
Store operation timeout.
- PrimitiveException.Unavailable - Exception in io.atomix.primitive
-
Store is temporarily unavailable.
- PrimitiveException.UnknownClient - Exception in io.atomix.primitive
-
Unknown client exception.
- PrimitiveException.UnknownService - Exception in io.atomix.primitive
-
Unknown service exception.
- PrimitiveException.UnknownSession - Exception in io.atomix.primitive
-
Unknown session exception.
- PrimitiveId - Class in io.atomix.primitive
-
Snapshot identifier.
- PrimitiveId(Long) - Constructor for class io.atomix.primitive.PrimitiveId
-
- PrimitiveManagementService - Interface in io.atomix.primitive
-
Primitive management service.
- primitiveName() - Method in class io.atomix.primitive.session.SessionMetadata
-
Returns the session name.
- PrimitiveOperation - Class in io.atomix.primitive.operation
-
Base type for Raft state operations.
- PrimitiveOperation(OperationId, byte[]) - Constructor for class io.atomix.primitive.operation.PrimitiveOperation
-
- PrimitiveProtocol - Interface in io.atomix.primitive
-
Primitive protocol.
- PrimitiveProtocol.Builder<P extends PrimitiveProtocol> - Class in io.atomix.primitive
-
Primitive protocol.
- PrimitiveProtocol.Type - Interface in io.atomix.primitive
-
Primitive protocol type.
- PrimitiveProxy - Interface in io.atomix.primitive.proxy
-
Raft client proxy.
- PrimitiveProxy.State - Enum in io.atomix.primitive.proxy
-
Indicates the state of the client's communication with the Raft cluster.
- PrimitiveProxyExecutor - Interface in io.atomix.primitive.proxy
-
Raft proxy executor.
- PrimitiveService - Interface in io.atomix.primitive.service
-
Base class for user-provided services.
- primitiveType() - Method in interface io.atomix.primitive.DistributedPrimitive
-
Returns the type of primitive.
- primitiveType() - Method in class io.atomix.primitive.DistributedPrimitiveBuilder
-
Returns the primitive type.
- PrimitiveType<B extends DistributedPrimitiveBuilder<B,P>,P extends DistributedPrimitive> - Interface in io.atomix.primitive
-
Raft service type.
- primitiveType() - Method in class io.atomix.primitive.session.SessionMetadata
-
Returns the session type.
- primitiveType() - Method in class io.atomix.primitive.Synchronous
-
- PrimitiveTypeRegistry - Class in io.atomix.primitive
-
Primitive registry.
- PrimitiveTypeRegistry() - Constructor for class io.atomix.primitive.PrimitiveTypeRegistry
-
- protocol() - Method in class io.atomix.primitive.DistributedPrimitiveBuilder
-
Returns the primitive protocol.
- publish(EventType) - Method in interface io.atomix.primitive.session.Session
-
Publishes an empty event to the session.
- publish(EventType, Function<T, byte[]>, T) - Method in interface io.atomix.primitive.session.Session
-
Publishes an event to the session.
- publish(EventType, byte[]) - Method in interface io.atomix.primitive.session.Session
-
Publishes an event to the session.
- publish(PrimitiveEvent) - Method in interface io.atomix.primitive.session.Session
-
Publishes an event to the session.
- readOnly() - Method in class io.atomix.primitive.DistributedPrimitiveBuilder
-
Returns if updates are disabled.
- recovery() - Method in class io.atomix.primitive.DistributedPrimitiveBuilder
-
Returns the recovery strategy.
- Recovery - Enum in io.atomix.primitive
-
Primitive session recovery strategy.
- register(PrimitiveType) - Method in class io.atomix.primitive.PrimitiveTypeRegistry
-
Registers a primitive type.
- register(OperationId, Runnable) - Method in interface io.atomix.primitive.service.ServiceExecutor
-
Registers a operation callback.
- register(OperationId, Supplier<R>, Function<R, byte[]>) - Method in interface io.atomix.primitive.service.ServiceExecutor
-
Registers a no argument operation callback.
- register(OperationId, Consumer<Commit<Void>>) - Method in interface io.atomix.primitive.service.ServiceExecutor
-
Registers a operation callback.
- register(OperationId, Function<Commit<Void>, R>, Function<R, byte[]>) - Method in interface io.atomix.primitive.service.ServiceExecutor
-
Registers a operation callback.
- register(OperationId, Function<byte[], T>, Consumer<Commit<T>>) - Method in interface io.atomix.primitive.service.ServiceExecutor
-
Registers a operation callback.
- register(OperationId, Function<byte[], T>, Function<Commit<T>, R>, Function<R, byte[]>) - Method in interface io.atomix.primitive.service.ServiceExecutor
-
Registers an operation callback.
- relaxedReadConsistency() - Method in class io.atomix.primitive.DistributedPrimitiveBuilder
-
Returns if consistency is relaxed for read operations.
- removeEventListener(EventType, Runnable) - Method in interface io.atomix.primitive.proxy.PrimitiveProxy
-
Removes an empty session event listener.
- removeEventListener(EventType, Consumer) - Method in interface io.atomix.primitive.proxy.PrimitiveProxy
-
Removes a session event listener.
- removeEventListener(Consumer<PrimitiveEvent>) - Method in interface io.atomix.primitive.proxy.PrimitiveProxyExecutor
-
Removes a session event listener.
- removeListener(SessionEventListener) - Method in interface io.atomix.primitive.session.Session
-
Removes a state change listener from the session.
- removeListener(SessionListener) - Method in interface io.atomix.primitive.session.Sessions
-
Removes a listener from the sessions.
- removeStateChangeListener(Consumer<PrimitiveProxy.State>) - Method in interface io.atomix.primitive.proxy.PrimitiveProxyExecutor
-
Removes a state change listener.
- removeStatusChangeListener(Consumer<DistributedPrimitive.Status>) - Method in interface io.atomix.primitive.DistributedPrimitive
-
Unregisters a previously registered listener to be called when the primitive's status changes.
- replication() - Method in class io.atomix.primitive.DistributedPrimitiveBuilder
-
Returns the replication strategy.
- Replication - Enum in io.atomix.primitive
-
Replication strategy.
- restore(BufferInput<?>) - Method in interface io.atomix.primitive.service.PrimitiveService
-
Restores the service state from the given buffer.
- retryDelay() - Method in class io.atomix.primitive.DistributedPrimitiveBuilder
-
Returns the retry delay.
- serializer() - Method in class io.atomix.primitive.DistributedPrimitiveBuilder
-
Returns the serializer.
- ServiceContext - Interface in io.atomix.primitive.service
-
State machine context.
- ServiceException() - Constructor for exception io.atomix.primitive.PrimitiveException.ServiceException
-
- ServiceException(String) - Constructor for exception io.atomix.primitive.PrimitiveException.ServiceException
-
- ServiceExecutor - Interface in io.atomix.primitive.service
-
Facilitates registration and execution of state machine commands and provides deterministic scheduling.
- serviceId() - Method in interface io.atomix.primitive.service.ServiceContext
-
Returns the state machine identifier.
- serviceName() - Method in interface io.atomix.primitive.service.ServiceContext
-
Returns the state machine name.
- serviceName() - Method in interface io.atomix.primitive.session.Session
-
Returns the session's service name.
- serviceType() - Method in interface io.atomix.primitive.proxy.PrimitiveProxy
-
Returns the client proxy type.
- serviceType() - Method in interface io.atomix.primitive.service.ServiceContext
-
Returns the state machine type.
- serviceType() - Method in interface io.atomix.primitive.session.Session
-
Returns the session's service type.
- session() - Method in interface io.atomix.primitive.service.Commit
-
Returns the session that submitted the operation.
- Session - Interface in io.atomix.primitive.session
-
Provides an interface to communicating with a client via session events.
- Session.State - Enum in io.atomix.primitive.session
-
Session state enums.
- SessionEvent - Class in io.atomix.primitive.session
-
Raft session event.
- SessionEvent(SessionEvent.Type, Session) - Constructor for class io.atomix.primitive.session.SessionEvent
-
- SessionEvent(SessionEvent.Type, Session, long) - Constructor for class io.atomix.primitive.session.SessionEvent
-
- SessionEvent.Type - Enum in io.atomix.primitive.session
-
Raft session type.
- SessionEventListener - Interface in io.atomix.primitive.session
-
Raft session event listener.
- sessionId() - Method in interface io.atomix.primitive.proxy.PrimitiveProxy
-
Returns the proxy session identifier.
- sessionId() - Method in interface io.atomix.primitive.session.Session
-
Returns the session identifier.
- SessionId - Class in io.atomix.primitive.session
-
Session identifier.
- SessionId(Long) - Constructor for class io.atomix.primitive.session.SessionId
-
- sessionId() - Method in class io.atomix.primitive.session.SessionMetadata
-
Returns the globally unique session identifier.
- SessionIdService - Interface in io.atomix.primitive.session
-
Globally unique session ID provider.
- SessionListener - Interface in io.atomix.primitive.session
-
Support for listening for state changes in server sessions.
- SessionMetadata - Class in io.atomix.primitive.session
-
Primitive session metadata.
- SessionMetadata(long, String, String) - Constructor for class io.atomix.primitive.session.SessionMetadata
-
- sessions() - Method in interface io.atomix.primitive.service.ServiceContext
-
Returns the state machine sessions.
- Sessions - Interface in io.atomix.primitive.session
-
Provides a set of active server sessions.
- simplify(EventType) - Static method in interface io.atomix.primitive.event.EventType
-
Simplifies the given event type.
- simplify(OperationId) - Static method in interface io.atomix.primitive.operation.OperationId
-
Simplifies the given operation identifier.
- size() - Method in class io.atomix.primitive.PrimitiveTypeRegistry
-
Returns the number of registered primitive types.
- statusChangeListeners() - Method in interface io.atomix.primitive.DistributedPrimitive
-
Returns the collection of status change listeners previously registered.
- sync() - Method in interface io.atomix.primitive.AsyncPrimitive
-
Returns a synchronous wrapper around the asynchronous primitive.
- sync(Duration) - Method in interface io.atomix.primitive.AsyncPrimitive
-
Returns a synchronous wrapper around the asynchronous primitive.
- Synchronous<T extends AsyncPrimitive> - Class in io.atomix.primitive
-
DistributedPrimitive that is a synchronous (blocking) version of
another.
- Synchronous(T) - Constructor for class io.atomix.primitive.Synchronous
-
- SyncPrimitive - Interface in io.atomix.primitive
-
Synchronous primitive.
- value() - Method in class io.atomix.primitive.event.PrimitiveEvent
-
Returns the event value.
- value() - Method in class io.atomix.primitive.operation.PrimitiveOperation
-
Returns the operation value.
- value() - Method in interface io.atomix.primitive.service.Commit
-
Returns the operation submitted by the client.
- valueOf(String) - Static method in enum io.atomix.primitive.Consistency
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.atomix.primitive.DistributedPrimitive.Status
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.atomix.primitive.operation.OperationType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.atomix.primitive.Ordering
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.atomix.primitive.partition.PrimaryElectionEvent.Type
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.atomix.primitive.Persistence
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.atomix.primitive.proxy.PrimitiveProxy.State
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.atomix.primitive.Recovery
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.atomix.primitive.Replication
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.atomix.primitive.session.Session.State
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum io.atomix.primitive.session.SessionEvent.Type
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum io.atomix.primitive.Consistency
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum io.atomix.primitive.DistributedPrimitive.Status
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum io.atomix.primitive.operation.OperationType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum io.atomix.primitive.Ordering
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum io.atomix.primitive.partition.PrimaryElectionEvent.Type
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum io.atomix.primitive.Persistence
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum io.atomix.primitive.proxy.PrimitiveProxy.State
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum io.atomix.primitive.Recovery
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum io.atomix.primitive.Replication
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum io.atomix.primitive.session.Session.State
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum io.atomix.primitive.session.SessionEvent.Type
-
Returns an array containing the constants of this enum type, in
the order they are declared.