Skip navigation links
A B C D E F G H I L M N O P Q R S T U V W 

A

AbstractPrimitiveService - Class in io.atomix.primitive.service
Raft service.
AbstractPrimitiveService() - Constructor for class io.atomix.primitive.service.AbstractPrimitiveService
 
active() - Method in enum io.atomix.primitive.session.Session.State
 
addEventListener(EventType, Function<byte[], T>, Consumer<T>) - Method in interface io.atomix.primitive.proxy.PrimitiveProxy
Adds an event listener.
addEventListener(EventType, Runnable) - Method in interface io.atomix.primitive.proxy.PrimitiveProxy
Adds an empty session event listener.
addEventListener(EventType, Consumer<byte[]>) - Method in interface io.atomix.primitive.proxy.PrimitiveProxy
Adds a session event listener.
addEventListener(Consumer<PrimitiveEvent>) - Method in interface io.atomix.primitive.proxy.PrimitiveProxyExecutor
Adds a session event listener.
addListener(SessionEventListener) - Method in interface io.atomix.primitive.session.Session
Adds a state change listener to the session.
addListener(SessionListener) - Method in interface io.atomix.primitive.session.Sessions
Adds a listener to the sessions.
addStateChangeListener(Consumer<PrimitiveProxy.State>) - Method in interface io.atomix.primitive.proxy.PrimitiveProxyExecutor
Registers a session state change listener.
addStatusChangeListener(Consumer<DistributedPrimitive.Status>) - Method in interface io.atomix.primitive.DistributedPrimitive
Registers a listener to be called when the primitive's status changes.
apply(Commit<byte[]>) - Method in class io.atomix.primitive.service.AbstractPrimitiveService
 
apply(Commit<byte[]>) - Method in interface io.atomix.primitive.service.PrimitiveService
Applies a commit to the state machine.
apply(Commit<byte[]>) - Method in interface io.atomix.primitive.service.ServiceExecutor
Applies the given commit to the executor.
async() - Method in interface io.atomix.primitive.SyncPrimitive
Returns the underlying asynchronous primitive.
AsyncPrimitive - Interface in io.atomix.primitive
Asynchronous primitive.

B

backup(BufferOutput<?>) - Method in interface io.atomix.primitive.service.PrimitiveService
Backs up the service state to the given buffer.
backups() - Method in class io.atomix.primitive.DistributedPrimitiveBuilder
Returns the number of backups for the primitive.
backups() - Method in interface io.atomix.primitive.partition.Partition
Returns the partition's backups.
backups() - Method in class io.atomix.primitive.partition.PartitionInfo
Returns a collection of partition backups.
backups() - Method in class io.atomix.primitive.partition.PrimaryTerm
Returns the backup nodes.
build() - Method in class io.atomix.primitive.DistributedPrimitiveBuilder
Constructs an instance of the distributed primitive.
buildAsync() - Method in class io.atomix.primitive.DistributedPrimitiveBuilder
Constructs an instance of the asynchronous primitive.
Builder(String) - Constructor for class io.atomix.primitive.PrimitiveProtocol.Builder
 

C

close() - Method in interface io.atomix.primitive.AsyncPrimitive
Closes the primitive.
close() - Method in interface io.atomix.primitive.partition.ManagedPartitionGroup
Closes the partition group.
close() - Method in interface io.atomix.primitive.partition.ManagedPartitionService
Closes the partition group.
close() - Method in interface io.atomix.primitive.partition.PrimaryElection
Closes the primary election.
close() - Method in interface io.atomix.primitive.proxy.PrimitiveProxy
Closes the primitive proxy.
close() - Method in interface io.atomix.primitive.service.PrimitiveService
Closes the state machine.
close() - Method in interface io.atomix.primitive.service.ServiceExecutor
 
close() - Method in class io.atomix.primitive.Synchronous
 
close() - Method in interface io.atomix.primitive.SyncPrimitive
Closes the primitive.
ClosedSession() - Constructor for exception io.atomix.primitive.PrimitiveException.ClosedSession
 
ClosedSession(String) - Constructor for exception io.atomix.primitive.PrimitiveException.ClosedSession
 
command(String) - Static method in interface io.atomix.primitive.operation.OperationId
Returns a new command operation identifier.
CommandFailure() - Constructor for exception io.atomix.primitive.PrimitiveException.CommandFailure
 
CommandFailure(String) - Constructor for exception io.atomix.primitive.PrimitiveException.CommandFailure
 
Commit<T> - Interface in io.atomix.primitive.service
Represents the committed state and metadata of a Raft state machine operation.
compareTo(PartitionId) - Method in class io.atomix.primitive.partition.PartitionId
 
ConcurrentModification() - Constructor for exception io.atomix.primitive.PrimitiveException.ConcurrentModification
 
connect() - Method in interface io.atomix.primitive.proxy.PrimitiveProxy
Connects the primitive proxy.
Consistency - Enum in io.atomix.primitive
Primitive consistency model.
consistency() - Method in class io.atomix.primitive.DistributedPrimitiveBuilder
Returns the primitive consistency model.
currentIndex() - Method in interface io.atomix.primitive.service.ServiceContext
Returns the current state machine index.
currentOperation() - Method in interface io.atomix.primitive.service.ServiceContext
Returns the current operation type.
currentSession() - Method in interface io.atomix.primitive.service.ServiceContext
Returns the current session.

D

DEFAULT_OPERATION_TIMEOUT_MILLIS - Static variable in interface io.atomix.primitive.DistributedPrimitive
Default timeout for primitive operations.
destroy() - Method in interface io.atomix.primitive.AsyncPrimitive
Purges state associated with this primitive.
destroy() - Method in class io.atomix.primitive.Synchronous
 
destroy() - Method in interface io.atomix.primitive.SyncPrimitive
Purges state associated with this primitive.
DistributedPrimitive - Interface in io.atomix.primitive
Interface for all distributed primitives.
DistributedPrimitive.Status - Enum in io.atomix.primitive
Status of distributed primitive.
DistributedPrimitiveBuilder<B extends DistributedPrimitiveBuilder<B,P>,P extends DistributedPrimitive> - Class in io.atomix.primitive
Abstract builder for distributed primitives.
DistributedPrimitiveBuilder(PrimitiveType, String) - Constructor for class io.atomix.primitive.DistributedPrimitiveBuilder
 

E

enter(NodeId) - Method in interface io.atomix.primitive.partition.PrimaryElection
Enters the primary election.
equals(Object) - Method in class io.atomix.primitive.event.PrimitiveEvent
 
equals(Object) - Method in class io.atomix.primitive.operation.PrimitiveOperation
 
equals(Object) - Method in class io.atomix.primitive.partition.PartitionId
 
equals(Object) - Method in class io.atomix.primitive.partition.PartitionMetadata
 
equals(Object) - Method in class io.atomix.primitive.partition.PrimaryTerm
 
equals(Object) - Method in class io.atomix.primitive.session.SessionMetadata
 
EventType - Interface in io.atomix.primitive.event
Raft event identifier.
execute(OperationId) - Method in interface io.atomix.primitive.proxy.PrimitiveProxyExecutor
Executes an operation to the Raft cluster.
execute(OperationId, byte[]) - Method in interface io.atomix.primitive.proxy.PrimitiveProxyExecutor
Executes an operation to the Raft cluster.
execute(PrimitiveOperation) - Method in interface io.atomix.primitive.proxy.PrimitiveProxyExecutor
Executes an operation to the cluster.

F

from(String) - Static method in interface io.atomix.primitive.event.EventType
Creates a new Raft event identifier.
from(String, OperationType) - Static method in interface io.atomix.primitive.operation.OperationId
Returns a new operation identifier.
from(String, int) - Static method in class io.atomix.primitive.partition.PartitionId
Creates a partition identifier from an integer.
from(long) - Static method in class io.atomix.primitive.PrimitiveId
Creates a snapshot ID from the given number.
from(String) - Static method in class io.atomix.primitive.PrimitiveId
Creates a snapshot ID from the given string.
from(long) - Static method in class io.atomix.primitive.session.SessionId
Returns a new session ID from the given identifier.

G

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.

H

handle(OperationId, Function<Commit<byte[]>, byte[]>) - Method in interface io.atomix.primitive.service.ServiceExecutor
Registers a operation callback.
hashCode() - Method in class io.atomix.primitive.event.PrimitiveEvent
 
hashCode() - Method in class io.atomix.primitive.operation.PrimitiveOperation
 
hashCode() - Method in class io.atomix.primitive.partition.PartitionId
 
hashCode() - Method in class io.atomix.primitive.partition.PartitionMetadata
 
hashCode() - Method in class io.atomix.primitive.partition.PrimaryTerm
 
hashCode() - Method in class io.atomix.primitive.session.SessionMetadata
 

I

id() - Method in class io.atomix.primitive.operation.PrimitiveOperation
Returns the operation identifier.
id() - Method in interface io.atomix.primitive.partition.Partition
Returns the partition identifier.
id() - Method in class io.atomix.primitive.partition.PartitionMetadata
Returns the partition identifier.
id() - Method in interface io.atomix.primitive.PrimitiveType
Returns the primitive type name.
index() - Method in interface io.atomix.primitive.service.Commit
Returns the commit index.
init(ServiceContext) - Method in class io.atomix.primitive.service.AbstractPrimitiveService
 
init(ServiceContext) - Method in interface io.atomix.primitive.service.PrimitiveService
Initializes the state machine.
Interrupted() - Constructor for exception io.atomix.primitive.PrimitiveException.Interrupted
 
invoke(OperationId) - Method in interface io.atomix.primitive.proxy.PrimitiveProxy
Submits an empty operation to the Raft cluster, awaiting a void result.
invoke(OperationId, Function<byte[], R>) - Method in interface io.atomix.primitive.proxy.PrimitiveProxy
Submits an empty operation to the Raft cluster.
invoke(OperationId, Function<T, byte[]>, T) - Method in interface io.atomix.primitive.proxy.PrimitiveProxy
Submits an operation to the Raft cluster.
invoke(OperationId, Function<T, byte[]>, T, Function<byte[], R>) - Method in interface io.atomix.primitive.proxy.PrimitiveProxy
Submits an operation to the Raft cluster.
io.atomix.primitive - package io.atomix.primitive
Atomix primitives.
io.atomix.primitive.event - package io.atomix.primitive.event
 
io.atomix.primitive.operation - package io.atomix.primitive.operation
 
io.atomix.primitive.partition - package io.atomix.primitive.partition
 
io.atomix.primitive.proxy - package io.atomix.primitive.proxy
 
io.atomix.primitive.service - package io.atomix.primitive.service
 
io.atomix.primitive.session - package io.atomix.primitive.session
Interfaces for managing client sessions on a Raft server.

L

logicalClock() - Method in interface io.atomix.primitive.service.ServiceContext
Returns the state machine's logical clock.
logicalTime() - Method in interface io.atomix.primitive.service.Commit
Returns the logical time at which the operation was committed.

M

ManagedPartitionGroup - Interface in io.atomix.primitive.partition
Managed partition group.
ManagedPartitionService - Interface in io.atomix.primitive.partition
Managed partition service.
ManagedPrimaryElectionService - Interface in io.atomix.primitive.partition
Managed primary election service.
ManagedSessionIdService - Interface in io.atomix.primitive.session
Managed session ID service.
map(Function<T, U>) - Method in interface io.atomix.primitive.service.Commit
Converts the commit from one type to another.
mapToNull() - Method in interface io.atomix.primitive.service.Commit
Converts the commit to a null valued commit.
maxRetries() - Method in class io.atomix.primitive.DistributedPrimitiveBuilder
Returns the maximum number of allowed retries.
members() - Method in class io.atomix.primitive.partition.PartitionMetadata
Returns the controller nodes that are members of this partition.

N

name() - Method in interface io.atomix.primitive.DistributedPrimitive
Returns the name of this primitive.
name() - Method in class io.atomix.primitive.DistributedPrimitiveBuilder
Returns the name of the primitive.
name() - Method in interface io.atomix.primitive.partition.PartitionGroup
Returns the partition group name.
name() - Method in interface io.atomix.primitive.proxy.PrimitiveProxy
Returns the client proxy name.
name() - Method in class io.atomix.primitive.Synchronous
 
newPrimitiveBuilder(String, PrimitiveManagementService) - Method in interface io.atomix.primitive.PrimitiveType
Returns a new primitive builder for the given partition.
newProxy(String, PrimitiveType, P) - Method in interface io.atomix.primitive.PrimitiveClient
Returns a new proxy builder for the given primitive type.
newService() - Method in interface io.atomix.primitive.PrimitiveType
Returns a new primitive service instance.
nextSessionId() - Method in interface io.atomix.primitive.session.SessionIdService
Returns the next unique session identifier.
nodeId() - Method in interface io.atomix.primitive.session.Session
Returns the node identifier to which the session belongs.

O

onClose(Session) - Method in class io.atomix.primitive.service.AbstractPrimitiveService
 
onClose(Session) - Method in interface io.atomix.primitive.session.SessionListener
Called when a session was closed by the client.
onExpire(Session) - Method in class io.atomix.primitive.service.AbstractPrimitiveService
 
onExpire(Session) - Method in interface io.atomix.primitive.session.SessionListener
Called when a session is expired by the system.
onOpen(Session) - Method in class io.atomix.primitive.service.AbstractPrimitiveService
 
onOpen(Session) - Method in interface io.atomix.primitive.session.SessionListener
Called when a new session is registered.
open(PartitionManagementService) - Method in interface io.atomix.primitive.partition.ManagedPartitionGroup
Initializes the partition group.
open(PartitionManagementService) - Method in interface io.atomix.primitive.partition.ManagedPartitionService
Initializes the partition group.
operation() - Method in interface io.atomix.primitive.service.Commit
Returns the operation identifier.
OperationId - Interface in io.atomix.primitive.operation
Raft operation identifier.
OperationType - Enum in io.atomix.primitive.operation
Raft operation type.
Ordering - Enum in io.atomix.primitive
Describes the order of a primitive data structure.

P

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
PartitionMetadata identifier.
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.

Q

query(String) - Static method in interface io.atomix.primitive.operation.OperationId
Returns a new query operation identifier.
QueryFailure() - Constructor for exception io.atomix.primitive.PrimitiveException.QueryFailure
 
QueryFailure(String) - Constructor for exception io.atomix.primitive.PrimitiveException.QueryFailure
 

R

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.

S

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.

T

term() - Method in interface io.atomix.primitive.partition.Partition
Returns the partition term.
term() - Method in class io.atomix.primitive.partition.PartitionInfo
Returns the partition term.
term() - Method in class io.atomix.primitive.partition.PrimaryElectionEvent
Returns the election term.
term() - Method in class io.atomix.primitive.partition.PrimaryTerm
Returns the primary term number.
tick(WallClockTimestamp) - Method in class io.atomix.primitive.service.AbstractPrimitiveService
 
tick(WallClockTimestamp) - Method in interface io.atomix.primitive.service.PrimitiveService
Increments the Raft service time to the given timestamp.
tick(WallClockTimestamp) - Method in interface io.atomix.primitive.service.ServiceExecutor
Increments the service clock.
Timeout() - Constructor for exception io.atomix.primitive.PrimitiveException.Timeout
 
toString() - Method in class io.atomix.primitive.event.PrimitiveEvent
 
toString() - Method in class io.atomix.primitive.operation.PrimitiveOperation
 
toString() - Method in class io.atomix.primitive.partition.PartitionId
 
toString() - Method in class io.atomix.primitive.partition.PartitionInfo
 
toString() - Method in class io.atomix.primitive.partition.PartitionMetadata
 
toString() - Method in class io.atomix.primitive.partition.PrimaryTerm
 
toString() - Method in class io.atomix.primitive.session.SessionMetadata
 
type() - Method in class io.atomix.primitive.event.PrimitiveEvent
Returns the event type identifier.
type() - Method in interface io.atomix.primitive.operation.OperationId
Returns the operation type.
type() - Method in interface io.atomix.primitive.partition.PartitionGroup
Returns the primitive protocol type supported by the partition group.
type() - Method in interface io.atomix.primitive.PrimitiveProtocol
Returns the protocol type.

U

Unavailable() - Constructor for exception io.atomix.primitive.PrimitiveException.Unavailable
 
Unavailable(String) - Constructor for exception io.atomix.primitive.PrimitiveException.Unavailable
 
UnknownClient() - Constructor for exception io.atomix.primitive.PrimitiveException.UnknownClient
 
UnknownClient(String) - Constructor for exception io.atomix.primitive.PrimitiveException.UnknownClient
 
UnknownService() - Constructor for exception io.atomix.primitive.PrimitiveException.UnknownService
 
UnknownService(String) - Constructor for exception io.atomix.primitive.PrimitiveException.UnknownService
 
UnknownSession() - Constructor for exception io.atomix.primitive.PrimitiveException.UnknownSession
 
UnknownSession(String) - Constructor for exception io.atomix.primitive.PrimitiveException.UnknownSession
 
unregister(PrimitiveType) - Method in class io.atomix.primitive.PrimitiveTypeRegistry
Unregisters a primitive type.

V

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.

W

wallClock() - Method in interface io.atomix.primitive.service.ServiceContext
Returns the state machine's wall clock.
wallClockTime() - Method in interface io.atomix.primitive.service.Commit
Returns the time at which the operation was committed.
withBackups(int) - Method in class io.atomix.primitive.DistributedPrimitiveBuilder
Sets the number of backups.
withConsistency(Consistency) - Method in class io.atomix.primitive.DistributedPrimitiveBuilder
Sets the primitive consistency model.
withMaxRetries(int) - Method in class io.atomix.primitive.DistributedPrimitiveBuilder
Sets the maximum number of operation retries.
withPersistence(Persistence) - Method in class io.atomix.primitive.DistributedPrimitiveBuilder
Sets the primitive persistence level.
withProtocol(PrimitiveProtocol) - Method in class io.atomix.primitive.DistributedPrimitiveBuilder
Sets the primitive protocol.
withRecovery(Recovery) - Method in class io.atomix.primitive.DistributedPrimitiveBuilder
Sets the primitive recovery strategy.
withRelaxedReadConsistency() - Method in class io.atomix.primitive.DistributedPrimitiveBuilder
Turns on relaxed consistency for read operations.
withReplication(Replication) - Method in class io.atomix.primitive.DistributedPrimitiveBuilder
Sets the primitive replication strategy.
withRetryDelay(Duration) - Method in class io.atomix.primitive.DistributedPrimitiveBuilder
Sets the retry delay.
withSerializer(Serializer) - Method in class io.atomix.primitive.DistributedPrimitiveBuilder
Sets the serializer to use for transcoding info held in the primitive.
withUpdatesDisabled() - Method in class io.atomix.primitive.DistributedPrimitiveBuilder
Disables state changing operations on the returned distributed primitive.
A B C D E F G H I L M N O P Q R S T U V W 
Skip navigation links

Copyright © 2013–2018. All rights reserved.