| Package | Description |
|---|---|
| io.atomix.core |
Core APIs for managing Atomix clusters and operating on distributed primitives.
|
| io.atomix.core.barrier |
Distributed barrier primitive.
|
| io.atomix.core.collection |
Distributed collection primitives.
|
| io.atomix.core.counter |
Atomic counter primitive.
|
| io.atomix.core.election |
Distributed leader election primitives.
|
| io.atomix.core.idgenerator |
Atomic ID generator primitive.
|
| io.atomix.core.list |
Distributed list primitive.
|
| io.atomix.core.lock |
Distributed lock primitive.
|
| io.atomix.core.map |
Atomic map primitive.
|
| io.atomix.core.multimap |
Atomic multimap primitive.
|
| io.atomix.core.multiset |
Distributed multiset primitive.
|
| io.atomix.core.queue |
Distributed queue primitive.
|
| io.atomix.core.semaphore |
Distributed semaphore primitive.
|
| io.atomix.core.set |
Distributed set primitive.
|
| io.atomix.core.transaction |
Interfaces for managing distributed primitive transactions.
|
| io.atomix.core.tree |
Distributed tree primitive interfaces.
|
| io.atomix.core.value |
Atomic value primitive.
|
| io.atomix.core.workqueue |
Distributed work processing primitives.
|
| io.atomix.primitive |
Provides classes and interfaces for defining and managing primitive types.
|
| io.atomix.primitive.partition |
Provides classes and interfaces for managing primitive partitions, partition groups, and member groups.
|
| io.atomix.primitive.protocol |
Provides classes and interfaces for defining and managing primitive protocols.
|
| io.atomix.primitive.proxy |
Provides interfaces for operating on primitive services via Java proxies.
|
| io.atomix.primitive.service |
Provides classes and interfaces for defining distributed primitive state machines.
|
| io.atomix.primitive.session |
Provides classes and interfaces for managing primitive sessions.
|
| io.atomix.protocols.backup |
Provides a
PrimitiveProtocol implementation for multi-primary replication and
classes for managing primary-backup clients/servers. |
| io.atomix.protocols.backup.session |
Provides a
SessionClient implementation for primary-backup. |
| io.atomix.protocols.raft |
Provides classes and interfaces for managing Raft clients and servers.
|
| io.atomix.protocols.raft.service |
Provides classes for managing Raft-based primitive services.
|
| io.atomix.protocols.raft.session |
Provides a
Session implementation for the Raft consensus protocol. |
| Modifier and Type | Method and Description |
|---|---|
default <P extends SyncPrimitive> |
PrimitivesService.getPrimitive(String name,
PrimitiveType<?,?,P> primitiveType)
Returns a registered primitive.
|
default <C extends PrimitiveConfig<C>,P extends SyncPrimitive> |
PrimitivesService.getPrimitive(String name,
PrimitiveType<?,C,P> primitiveType,
C primitiveConfig)
Returns a cached primitive.
|
<P extends SyncPrimitive> |
Atomix.getPrimitiveAsync(String name,
PrimitiveType<?,?,P> primitiveType) |
<P extends SyncPrimitive> |
PrimitivesService.getPrimitiveAsync(String name,
PrimitiveType<?,?,P> primitiveType)
Returns a cached primitive asynchronously.
|
<C extends PrimitiveConfig<C>,P extends SyncPrimitive> |
Atomix.getPrimitiveAsync(String name,
PrimitiveType<?,C,P> primitiveType,
C primitiveConfig) |
<C extends PrimitiveConfig<C>,P extends SyncPrimitive> |
PrimitivesService.getPrimitiveAsync(String name,
PrimitiveType<?,C,P> primitiveType,
C primitiveConfig)
Returns a cached primitive asynchronously.
|
Collection<PrimitiveInfo> |
Atomix.getPrimitives(PrimitiveType primitiveType) |
Collection<PrimitiveInfo> |
PrimitivesService.getPrimitives(PrimitiveType primitiveType)
Returns a collection of open primitives of the given type.
|
<B extends PrimitiveBuilder<B,C,P>,C extends PrimitiveConfig<C>,P extends SyncPrimitive> |
Atomix.primitiveBuilder(String name,
PrimitiveType<B,C,P> primitiveType) |
<B extends PrimitiveBuilder<B,C,P>,C extends PrimitiveConfig<C>,P extends SyncPrimitive> |
PrimitivesService.primitiveBuilder(String name,
PrimitiveType<B,C,P> primitiveType)
Returns a primitive builder of the given type.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DistributedCyclicBarrierType
Distributed cyclic barrier primitive type.
|
| Modifier and Type | Method and Description |
|---|---|
PrimitiveType |
DistributedCyclicBarrierConfig.getType() |
| Modifier and Type | Class and Description |
|---|---|
class |
DistributedCollectionType<E>
Distributed collection primitive type.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AtomicCounterType
Atomic counter primitive type.
|
class |
DistributedCounterType
Distributed counter primitive type.
|
| Modifier and Type | Method and Description |
|---|---|
PrimitiveType |
DistributedCounterConfig.getType() |
PrimitiveType |
AtomicCounterConfig.getType() |
| Modifier and Type | Class and Description |
|---|---|
class |
LeaderElectionType<T>
Leader elector primitive type.
|
class |
LeaderElectorType<T>
Leader elector primitive type.
|
| Modifier and Type | Method and Description |
|---|---|
PrimitiveType |
LeaderElectorConfig.getType() |
PrimitiveType |
LeaderElectionConfig.getType() |
| Modifier and Type | Class and Description |
|---|---|
class |
AtomicIdGeneratorType
Atomic ID generator primitive type.
|
| Modifier and Type | Method and Description |
|---|---|
PrimitiveType |
AtomicIdGeneratorConfig.getType() |
| Modifier and Type | Class and Description |
|---|---|
class |
DistributedListType<E>
Distributed list primitive type.
|
| Modifier and Type | Method and Description |
|---|---|
PrimitiveType |
DistributedListConfig.getType() |
| Modifier and Type | Class and Description |
|---|---|
class |
AtomicLockType
Atomic lock primitive type.
|
class |
DistributedLockType
Distributed lock primitive type.
|
| Modifier and Type | Method and Description |
|---|---|
PrimitiveType |
DistributedLockConfig.getType() |
PrimitiveType |
AtomicLockConfig.getType() |
| Modifier and Type | Class and Description |
|---|---|
class |
AtomicCounterMapType<K>
Atomic counter map primitive type.
|
class |
AtomicMapType<K,V>
Consistent map primitive type.
|
class |
AtomicNavigableMapType<K extends Comparable<K>,V>
Consistent tree map primitive type.
|
class |
AtomicSortedMapType<K extends Comparable<K>,V>
Consistent sorted map primitive type.
|
class |
DistributedMapType<K,V>
Distributed map primitive type.
|
class |
DistributedNavigableMapType<K extends Comparable<K>,V>
Distributed tree map primitive type.
|
class |
DistributedSortedMapType<K extends Comparable<K>,V>
Distributed sorted map primitive type.
|
| Modifier and Type | Method and Description |
|---|---|
PrimitiveType |
DistributedSortedMapConfig.getType() |
PrimitiveType |
AtomicSortedMapConfig.getType() |
PrimitiveType |
DistributedMapConfig.getType() |
PrimitiveType |
AtomicMapConfig.getType() |
PrimitiveType |
AtomicCounterMapConfig.getType() |
PrimitiveType |
AtomicNavigableMapConfig.getType() |
PrimitiveType |
DistributedNavigableMapConfig.getType() |
| Modifier and Type | Class and Description |
|---|---|
class |
AtomicMultimapType<K,V>
Consistent multimap primitive type.
|
class |
DistributedMultimapType<K,V>
Distributed multimap primitive type.
|
| Modifier and Type | Method and Description |
|---|---|
PrimitiveType |
DistributedMultimapConfig.getType() |
PrimitiveType |
AtomicMultimapConfig.getType() |
| Modifier and Type | Class and Description |
|---|---|
class |
DistributedMultisetType<E>
Placeholder type for the distributed multiset primitive type.
|
| Modifier and Type | Method and Description |
|---|---|
PrimitiveType |
DistributedMultisetConfig.getType() |
| Modifier and Type | Class and Description |
|---|---|
class |
DistributedQueueType<E>
Distributed queue primitive type.
|
| Modifier and Type | Method and Description |
|---|---|
PrimitiveType |
DistributedQueueConfig.getType() |
| Modifier and Type | Class and Description |
|---|---|
class |
AtomicSemaphoreType
Distributed semaphore primitive type.
|
class |
DistributedSemaphoreType
Distributed semaphore primitive type.
|
| Modifier and Type | Method and Description |
|---|---|
PrimitiveType |
AtomicSemaphoreConfig.getType() |
PrimitiveType |
DistributedSemaphoreConfig.getType() |
| Modifier and Type | Class and Description |
|---|---|
class |
DistributedNavigableSetType<E extends Comparable<E>>
Distributed navigable set primitive type.
|
class |
DistributedSetType<E>
Distributed set primitive type.
|
class |
DistributedSortedSetType<E extends Comparable<E>>
Distributed sorted set primitive type.
|
| Modifier and Type | Method and Description |
|---|---|
PrimitiveType |
DistributedNavigableSetConfig.getType() |
PrimitiveType |
DistributedSortedSetConfig.getType() |
PrimitiveType |
DistributedSetConfig.getType() |
| Modifier and Type | Class and Description |
|---|---|
class |
TransactionType
Transaction primitive type.
|
| Modifier and Type | Method and Description |
|---|---|
PrimitiveType |
TransactionalSetConfig.getType() |
PrimitiveType |
TransactionConfig.getType() |
PrimitiveType |
TransactionalMapConfig.getType() |
| Modifier and Type | Class and Description |
|---|---|
class |
AtomicDocumentTreeType<V>
Document tree primitive type.
|
| Modifier and Type | Method and Description |
|---|---|
PrimitiveType |
AtomicDocumentTreeConfig.getType() |
| Modifier and Type | Class and Description |
|---|---|
class |
AtomicValueType<V>
Atomic value primitive type.
|
class |
DistributedValueType<V>
Distributed value primitive type.
|
| Modifier and Type | Method and Description |
|---|---|
PrimitiveType |
DistributedValueConfig.getType() |
PrimitiveType |
AtomicValueConfig.getType() |
| Modifier and Type | Class and Description |
|---|---|
class |
WorkQueueType<E>
Work queue primitive type.
|
| Modifier and Type | Method and Description |
|---|---|
PrimitiveType |
WorkQueueConfig.getType() |
| Modifier and Type | Method and Description |
|---|---|
PrimitiveType |
PrimitiveTypeRegistry.getPrimitiveType(String typeName)
Returns the primitive type for the given name.
|
PrimitiveType |
AbstractAsyncPrimitive.type() |
PrimitiveType |
Synchronous.type() |
PrimitiveType |
PrimitiveInfo.type()
Returns the primitive type.
|
PrimitiveType |
DistributedPrimitive.type()
Returns the type of primitive.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<PrimitiveType> |
PrimitiveTypeRegistry.getPrimitiveTypes()
Returns the collection of registered primitive types.
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<PrimitiveInfo> |
PrimitiveRegistry.createPrimitive(String name,
PrimitiveType type)
Creates a new distributed primitive.
|
Collection<PrimitiveInfo> |
PrimitiveRegistry.getPrimitives(PrimitiveType primitiveType)
Returns a collection of open primitives of the given type.
|
| Constructor and Description |
|---|
PrimitiveBuilder(PrimitiveType type,
String name,
C config,
PrimitiveManagementService managementService) |
PrimitiveInfo(String name,
PrimitiveType type) |
| Modifier and Type | Method and Description |
|---|---|
SessionClient.Builder |
PartitionClient.sessionBuilder(String primitiveName,
PrimitiveType primitiveType,
ServiceConfig serviceConfig)
Returns a new session builder for the given primitive type.
|
| Modifier and Type | Method and Description |
|---|---|
<S> ProxyClient<S> |
ProxyProtocol.newProxy(String primitiveName,
PrimitiveType primitiveType,
Class<S> serviceType,
ServiceConfig serviceConfig,
PartitionService partitionService)
Returns a new primitive proxy for the given partition group.
|
| Modifier and Type | Method and Description |
|---|---|
PrimitiveType |
ProxyClient.type()
Returns the client proxy type.
|
PrimitiveType |
ProxySession.type()
Returns the client proxy type.
|
| Modifier and Type | Method and Description |
|---|---|
PrimitiveType |
ServiceContext.serviceType()
Returns the state machine type.
|
| Modifier and Type | Method and Description |
|---|---|
PrimitiveType |
Session.primitiveType()
Returns the session's service type.
|
PrimitiveType |
SessionClient.type()
Returns the client proxy type.
|
| Modifier and Type | Method and Description |
|---|---|
<S> ProxyClient<S> |
MultiPrimaryProtocol.newProxy(String primitiveName,
PrimitiveType primitiveType,
Class<S> serviceType,
ServiceConfig serviceConfig,
PartitionService partitionService) |
PrimaryBackupSessionClient.Builder |
PrimaryBackupClient.sessionBuilder(String primitiveName,
PrimitiveType primitiveType,
ServiceConfig serviceConfig)
Creates a new primary backup proxy session builder.
|
| Modifier and Type | Method and Description |
|---|---|
PrimitiveType |
PrimaryBackupSessionClient.type() |
| Constructor and Description |
|---|
PrimaryBackupSessionClient(String clientName,
PartitionId partitionId,
SessionId sessionId,
PrimitiveType primitiveType,
io.atomix.protocols.backup.protocol.PrimitiveDescriptor descriptor,
ClusterMembershipService clusterMembershipService,
io.atomix.protocols.backup.protocol.PrimaryBackupClientProtocol protocol,
PrimaryElection primaryElection,
io.atomix.utils.concurrent.ThreadContext threadContext) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Set<SessionMetadata>> |
RaftMetadataClient.getSessions(PrimitiveType primitiveType)
Returns a list of open sessions of the given type.
|
CompletableFuture<Set<SessionMetadata>> |
RaftMetadataClient.getSessions(PrimitiveType primitiveType,
String serviceName)
Returns a list of open sessions for the given service.
|
<S> ProxyClient<S> |
MultiRaftProtocol.newProxy(String primitiveName,
PrimitiveType primitiveType,
Class<S> serviceType,
ServiceConfig serviceConfig,
PartitionService partitionService) |
RaftSessionClient.Builder |
RaftClient.sessionBuilder(String primitiveName,
PrimitiveType primitiveType,
ServiceConfig serviceConfig)
Builds a Raft proxy session.
|
| Modifier and Type | Method and Description |
|---|---|
PrimitiveType |
RaftServiceContext.serviceType() |
| Constructor and Description |
|---|
RaftServiceContext(PrimitiveId primitiveId,
String serviceName,
PrimitiveType primitiveType,
ServiceConfig config,
PrimitiveService service,
io.atomix.protocols.raft.impl.RaftContext raft,
io.atomix.utils.concurrent.ThreadContextFactory threadContextFactory) |
| Constructor and Description |
|---|
RaftSession(SessionId sessionId,
MemberId member,
String name,
PrimitiveType primitiveType,
ReadConsistency readConsistency,
long minTimeout,
long maxTimeout,
long lastUpdated,
Serializer serializer,
RaftServiceContext context,
io.atomix.protocols.raft.impl.RaftContext server,
io.atomix.utils.concurrent.ThreadContextFactory threadContextFactory) |
Copyright © 2013–2018. All rights reserved.