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. |
default <K> AsyncAtomicCounterMap<K> |
newAsyncAtomicCounterMap(String name,
Serializer serializer)
Deprecated.
in Nightingale Release (1.13)
|
<V> AsyncAtomicValue<V> |
newAsyncAtomicValue(AtomicValueOptions options)
Creates a new
AsyncAtomicValue. |
default <V> AsyncAtomicValue<V> |
newAsyncAtomicValue(String name,
Serializer serializer)
Deprecated.
in Nightingale Release (1.13)
|
<K,V> AsyncConsistentMap<K,V> |
newAsyncConsistentMap(ConsistentMapOptions options)
Creates a new
AsyncConsistentMap. |
default <K,V> AsyncConsistentMap<K,V> |
newAsyncConsistentMap(String name,
Serializer serializer)
Deprecated.
in Nightingale Release (1.13)
|
<K,V> AsyncConsistentMultimap<K,V> |
newAsyncConsistentSetMultimap(ConsistentMultimapOptions options)
Creates a new set backed
AsyncConsistentMultimap. |
default <K,V> AsyncConsistentMultimap<K,V> |
newAsyncConsistentSetMultimap(String name,
Serializer serializer)
Deprecated.
in Nightingale Release (1.13)
|
<V> AsyncConsistentTreeMap<V> |
newAsyncConsistentTreeMap(ConsistentTreeMapOptions options)
Creates a new
AsyncConsistentTreeMap. |
default <V> AsyncConsistentTreeMap<V> |
newAsyncConsistentTreeMap(String name,
Serializer serializer)
Deprecated.
in Nightingale Release (1.13)
|
AsyncAtomicCounter |
newAsyncCounter(AtomicCounterOptions options)
Creates a new
AsyncAtomicCounter. |
default AsyncAtomicCounter |
newAsyncCounter(String name)
Deprecated.
in Nightingale Release (1.13)
|
AsyncDistributedLock |
newAsyncDistributedLock(DistributedLockOptions options)
Creates a new
AsyncDistributedLock. |
default AsyncDistributedLock |
newAsyncDistributedLock(String name)
Deprecated.
in Nightingale Release (1.13)
|
<E> AsyncDistributedSet<E> |
newAsyncDistributedSet(DistributedSetOptions options)
Creates a new
AsyncDistributedSet. |
default <E> AsyncDistributedSet<E> |
newAsyncDistributedSet(String name,
Serializer serializer)
Deprecated.
in Nightingale Release (1.13)
|
<V> AsyncDocumentTree<V> |
newAsyncDocumentTree(DocumentTreeOptions options)
Creates a new
AsyncDocumentTree. |
default <V> AsyncDocumentTree<V> |
newAsyncDocumentTree(String name,
Serializer serializer)
Deprecated.
in Nightingale Release (1.13)
|
default <V> AsyncDocumentTree<V> |
newAsyncDocumentTree(String name,
Serializer serializer,
Ordering ordering)
Deprecated.
in Nightingale Release (1.13)
|
AsyncAtomicIdGenerator |
newAsyncIdGenerator(AtomicIdGeneratorOptions options)
Creates a new
AsyncAtomixIdGenerator. |
default AsyncAtomicIdGenerator |
newAsyncIdGenerator(String name)
Deprecated.
in Nightingale Release (1.13)
|
AsyncLeaderElector |
newAsyncLeaderElector(LeaderElectorOptions options)
Creates a new
AsyncLeaderElector. |
default AsyncLeaderElector |
newAsyncLeaderElector(String name)
Deprecated.
in Nightingale Release (1.13)
|
default AsyncLeaderElector |
newAsyncLeaderElector(String name,
long electionTimeout,
TimeUnit timeUnit)
Deprecated.
in Nightingale Release (1.13)
|
default <E> WorkQueue<E> |
newWorkQueue(String name,
Serializer serializer)
Deprecated.
in Nightingale Release (1.13)
|
<E> WorkQueue<E> |
newWorkQueue(WorkQueueOptions options)
Creates a new
WorkQueue. |
@Deprecated default <K,V> AsyncConsistentMap<K,V> newAsyncConsistentMap(String name, Serializer serializer)
AsyncConsistentMap.K - key typeV - value typename - map nameserializer - serializer to use for serializing/deserializing map entries<K,V> AsyncConsistentMap<K,V> newAsyncConsistentMap(ConsistentMapOptions options)
AsyncConsistentMap.K - key typeV - value typeoptions - map options@Deprecated default <V> AsyncConsistentTreeMap<V> newAsyncConsistentTreeMap(String name, Serializer serializer)
AsyncConsistentTreeMap.V - value typename - tree nameserializer - serializer to use for serializing/deserializing map entries<V> AsyncConsistentTreeMap<V> newAsyncConsistentTreeMap(ConsistentTreeMapOptions options)
AsyncConsistentTreeMap.V - value typeoptions - tree map options@Deprecated default <K,V> AsyncConsistentMultimap<K,V> newAsyncConsistentSetMultimap(String name, Serializer serializer)
AsyncConsistentMultimap.K - key typeV - value typename - multimap nameserializer - serializer to use for serializing/deserializing<K,V> AsyncConsistentMultimap<K,V> newAsyncConsistentSetMultimap(ConsistentMultimapOptions options)
AsyncConsistentMultimap.K - key typeV - value typeoptions - multimap options@Deprecated default <K> AsyncAtomicCounterMap<K> newAsyncAtomicCounterMap(String name, Serializer serializer)
AsyncAtomicCounterMap.K - key typename - counter map nameserializer - serializer to use for serializing/deserializing keys<K> AsyncAtomicCounterMap<K> newAsyncAtomicCounterMap(AtomicCounterMapOptions options)
AsyncAtomicCounterMap.K - key typeoptions - counter map options@Deprecated default AsyncAtomicCounter newAsyncCounter(String name)
AsyncAtomicCounter.name - counter nameAsyncAtomicCounter newAsyncCounter(AtomicCounterOptions options)
AsyncAtomicCounter.options - counter options@Deprecated default AsyncAtomicIdGenerator newAsyncIdGenerator(String name)
AsyncAtomixIdGenerator.name - ID generator nameAsyncAtomicIdGenerator newAsyncIdGenerator(AtomicIdGeneratorOptions options)
AsyncAtomixIdGenerator.options - ID generator options@Deprecated default <V> AsyncAtomicValue<V> newAsyncAtomicValue(String name, Serializer serializer)
AsyncAtomicValue.V - value typename - value nameserializer - serializer to use for serializing/deserializing value type<V> AsyncAtomicValue<V> newAsyncAtomicValue(AtomicValueOptions options)
AsyncAtomicValue.V - value typeoptions - value options@Deprecated default <E> AsyncDistributedSet<E> newAsyncDistributedSet(String name, Serializer serializer)
AsyncDistributedSet.E - set entry typename - set nameserializer - serializer to use for serializing/deserializing set entries<E> AsyncDistributedSet<E> newAsyncDistributedSet(DistributedSetOptions options)
AsyncDistributedSet.E - set entry typeoptions - set options@Deprecated default AsyncDistributedLock newAsyncDistributedLock(String name)
AsyncDistributedLock.name - lock nameAsyncDistributedLock newAsyncDistributedLock(DistributedLockOptions options)
AsyncDistributedLock.options - lock options@Deprecated default AsyncLeaderElector newAsyncLeaderElector(String name)
AsyncLeaderElector.name - leader elector name@Deprecated default AsyncLeaderElector newAsyncLeaderElector(String name, long electionTimeout, TimeUnit timeUnit)
AsyncLeaderElector.name - leader elector nameelectionTimeout - leader election timeouttimeUnit - leader election timeout time unitAsyncLeaderElector newAsyncLeaderElector(LeaderElectorOptions options)
AsyncLeaderElector.options - leader elector options@Deprecated default <E> WorkQueue<E> newWorkQueue(String name, Serializer serializer)
WorkQueue.E - work element typename - work queue nameserializer - serializer<E> WorkQueue<E> newWorkQueue(WorkQueueOptions options)
WorkQueue.E - work element typeoptions - work queue options@Deprecated default <V> AsyncDocumentTree<V> newAsyncDocumentTree(String name, Serializer serializer)
AsyncDocumentTree.V - document tree node value typename - tree nameserializer - serializer@Deprecated default <V> AsyncDocumentTree<V> newAsyncDocumentTree(String name, Serializer serializer, Ordering ordering)
AsyncDocumentTree.V - document tree node value typename - tree nameserializer - serializerordering - tree node ordering<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