public interface DistributedPrimitiveCreator
Modifier and Type | Method and Description |
---|---|
Set<String> |
getAsyncAtomicCounterNames()
Returns the names of all created
AsyncAtomicCounter instances. |
Set<String> |
getAsyncConsistentMapNames()
Returns the names of all created
AsyncConsistentMap instances. |
Set<String> |
getWorkQueueNames()
Returns the names of all created
WorkQueue instances. |
<K> AsyncAtomicCounterMap<K> |
newAsyncAtomicCounterMap(AtomicCounterMapOptions options)
Creates a new
AsyncAtomicCounterMap . |
<V> AsyncAtomicValue<V> |
newAsyncAtomicValue(AtomicValueOptions options)
Creates a new
AsyncAtomicValue . |
<K,V> AsyncConsistentMap<K,V> |
newAsyncConsistentMap(ConsistentMapOptions options)
Creates a new
AsyncConsistentMap . |
<K,V> AsyncConsistentMultimap<K,V> |
newAsyncConsistentSetMultimap(ConsistentMultimapOptions options)
Creates a new set backed
AsyncConsistentMultimap . |
<V> AsyncConsistentTreeMap<V> |
newAsyncConsistentTreeMap(ConsistentTreeMapOptions options)
Creates a new
AsyncConsistentTreeMap . |
AsyncAtomicCounter |
newAsyncCounter(AtomicCounterOptions options)
Creates a new
AsyncAtomicCounter . |
AsyncDistributedLock |
newAsyncDistributedLock(DistributedLockOptions options)
Creates a new
AsyncDistributedLock . |
<E> AsyncDistributedSet<E> |
newAsyncDistributedSet(DistributedSetOptions options)
Creates a new
AsyncDistributedSet . |
<V> AsyncDocumentTree<V> |
newAsyncDocumentTree(DocumentTreeOptions options)
Creates a new
AsyncDocumentTree . |
AsyncAtomicIdGenerator |
newAsyncIdGenerator(AtomicIdGeneratorOptions options)
Creates a new
AsyncAtomixIdGenerator . |
AsyncLeaderElector |
newAsyncLeaderElector(LeaderElectorOptions options)
Creates a new
AsyncLeaderElector . |
<E> WorkQueue<E> |
newWorkQueue(WorkQueueOptions options)
Creates a new
WorkQueue . |
<K,V> AsyncConsistentMap<K,V> newAsyncConsistentMap(ConsistentMapOptions options)
AsyncConsistentMap
.K
- key typeV
- value typeoptions
- map options<V> AsyncConsistentTreeMap<V> newAsyncConsistentTreeMap(ConsistentTreeMapOptions options)
AsyncConsistentTreeMap
.V
- value typeoptions
- tree map options<K,V> AsyncConsistentMultimap<K,V> newAsyncConsistentSetMultimap(ConsistentMultimapOptions options)
AsyncConsistentMultimap
.K
- key typeV
- value typeoptions
- multimap options<K> AsyncAtomicCounterMap<K> newAsyncAtomicCounterMap(AtomicCounterMapOptions options)
AsyncAtomicCounterMap
.K
- key typeoptions
- counter map optionsAsyncAtomicCounter newAsyncCounter(AtomicCounterOptions options)
AsyncAtomicCounter
.options
- counter optionsAsyncAtomicIdGenerator newAsyncIdGenerator(AtomicIdGeneratorOptions options)
AsyncAtomixIdGenerator
.options
- ID generator options<V> AsyncAtomicValue<V> newAsyncAtomicValue(AtomicValueOptions options)
AsyncAtomicValue
.V
- value typeoptions
- value options<E> AsyncDistributedSet<E> newAsyncDistributedSet(DistributedSetOptions options)
AsyncDistributedSet
.E
- set entry typeoptions
- set optionsAsyncDistributedLock newAsyncDistributedLock(DistributedLockOptions options)
AsyncDistributedLock
.options
- lock optionsAsyncLeaderElector newAsyncLeaderElector(LeaderElectorOptions options)
AsyncLeaderElector
.options
- leader elector options<E> WorkQueue<E> newWorkQueue(WorkQueueOptions options)
WorkQueue
.E
- work element typeoptions
- work queue options<V> AsyncDocumentTree<V> newAsyncDocumentTree(DocumentTreeOptions options)
AsyncDocumentTree
.V
- document tree node value typeoptions
- tree optionsSet<String> getAsyncConsistentMapNames()
AsyncConsistentMap
instances.AsyncConsistentMap
namesSet<String> getAsyncAtomicCounterNames()
AsyncAtomicCounter
instances.AsyncAtomicCounter
names