public class FederatedDistributedPrimitiveCreator extends Object implements org.onosproject.store.primitives.DistributedPrimitiveCreator
DistributedPrimitiveCreator that federates responsibility for creating
distributed primitives to a collection of other creators.| Constructor and Description |
|---|
FederatedDistributedPrimitiveCreator(Map<org.onosproject.cluster.PartitionId,org.onosproject.store.primitives.DistributedPrimitiveCreator> members) |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
getAsyncAtomicCounterNames() |
Set<String> |
getAsyncConsistentMapNames() |
Set<String> |
getWorkQueueNames() |
<K> org.onosproject.store.service.AsyncAtomicCounterMap<K> |
newAsyncAtomicCounterMap(String name,
org.onosproject.store.service.Serializer serializer,
Supplier<Executor> executorSupplier) |
<V> org.onosproject.store.service.AsyncAtomicValue<V> |
newAsyncAtomicValue(String name,
org.onosproject.store.service.Serializer serializer,
Supplier<Executor> executorSupplier) |
<K,V> org.onosproject.store.service.AsyncConsistentMap<K,V> |
newAsyncConsistentMap(String name,
org.onosproject.store.service.Serializer serializer,
Supplier<Executor> executorSupplier) |
<K,V> org.onosproject.store.service.AsyncConsistentMultimap<K,V> |
newAsyncConsistentSetMultimap(String name,
org.onosproject.store.service.Serializer serializer,
Supplier<Executor> executorSupplier) |
<V> org.onosproject.store.service.AsyncConsistentTreeMap<V> |
newAsyncConsistentTreeMap(String name,
org.onosproject.store.service.Serializer serializer,
Supplier<Executor> executorSupplier) |
org.onosproject.store.service.AsyncAtomicCounter |
newAsyncCounter(String name,
Supplier<Executor> executorSupplier) |
<E> org.onosproject.store.service.AsyncDistributedSet<E> |
newAsyncDistributedSet(String name,
org.onosproject.store.service.Serializer serializer,
Supplier<Executor> executorSupplier) |
<V> org.onosproject.store.service.AsyncDocumentTree<V> |
newAsyncDocumentTree(String name,
org.onosproject.store.service.Serializer serializer,
Supplier<Executor> executorSupplier) |
org.onosproject.store.service.AsyncLeaderElector |
newAsyncLeaderElector(String name,
Supplier<Executor> executorSupplier) |
<E> org.onosproject.store.service.WorkQueue<E> |
newWorkQueue(String name,
org.onosproject.store.service.Serializer serializer,
Supplier<Executor> executorSupplier) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnewAsyncAtomicCounterMap, newAsyncAtomicValue, newAsyncConsistentMap, newAsyncConsistentSetMultimap, newAsyncConsistentTreeMap, newAsyncCounter, newAsyncDistributedSet, newAsyncDocumentTree, newAsyncLeaderElector, newWorkQueuepublic FederatedDistributedPrimitiveCreator(Map<org.onosproject.cluster.PartitionId,org.onosproject.store.primitives.DistributedPrimitiveCreator> members)
public <K,V> org.onosproject.store.service.AsyncConsistentMap<K,V> newAsyncConsistentMap(String name, org.onosproject.store.service.Serializer serializer, Supplier<Executor> executorSupplier)
newAsyncConsistentMap in interface org.onosproject.store.primitives.DistributedPrimitiveCreatorpublic <V> org.onosproject.store.service.AsyncConsistentTreeMap<V> newAsyncConsistentTreeMap(String name, org.onosproject.store.service.Serializer serializer, Supplier<Executor> executorSupplier)
newAsyncConsistentTreeMap in interface org.onosproject.store.primitives.DistributedPrimitiveCreatorpublic <K,V> org.onosproject.store.service.AsyncConsistentMultimap<K,V> newAsyncConsistentSetMultimap(String name, org.onosproject.store.service.Serializer serializer, Supplier<Executor> executorSupplier)
newAsyncConsistentSetMultimap in interface org.onosproject.store.primitives.DistributedPrimitiveCreatorpublic <E> org.onosproject.store.service.AsyncDistributedSet<E> newAsyncDistributedSet(String name, org.onosproject.store.service.Serializer serializer, Supplier<Executor> executorSupplier)
newAsyncDistributedSet in interface org.onosproject.store.primitives.DistributedPrimitiveCreatorpublic <K> org.onosproject.store.service.AsyncAtomicCounterMap<K> newAsyncAtomicCounterMap(String name, org.onosproject.store.service.Serializer serializer, Supplier<Executor> executorSupplier)
newAsyncAtomicCounterMap in interface org.onosproject.store.primitives.DistributedPrimitiveCreatorpublic org.onosproject.store.service.AsyncAtomicCounter newAsyncCounter(String name, Supplier<Executor> executorSupplier)
newAsyncCounter in interface org.onosproject.store.primitives.DistributedPrimitiveCreatorpublic <V> org.onosproject.store.service.AsyncAtomicValue<V> newAsyncAtomicValue(String name, org.onosproject.store.service.Serializer serializer, Supplier<Executor> executorSupplier)
newAsyncAtomicValue in interface org.onosproject.store.primitives.DistributedPrimitiveCreatorpublic org.onosproject.store.service.AsyncLeaderElector newAsyncLeaderElector(String name, Supplier<Executor> executorSupplier)
newAsyncLeaderElector in interface org.onosproject.store.primitives.DistributedPrimitiveCreatorpublic <E> org.onosproject.store.service.WorkQueue<E> newWorkQueue(String name, org.onosproject.store.service.Serializer serializer, Supplier<Executor> executorSupplier)
newWorkQueue in interface org.onosproject.store.primitives.DistributedPrimitiveCreatorpublic <V> org.onosproject.store.service.AsyncDocumentTree<V> newAsyncDocumentTree(String name, org.onosproject.store.service.Serializer serializer, Supplier<Executor> executorSupplier)
newAsyncDocumentTree in interface org.onosproject.store.primitives.DistributedPrimitiveCreatorpublic Set<String> getAsyncConsistentMapNames()
getAsyncConsistentMapNames in interface org.onosproject.store.primitives.DistributedPrimitiveCreatorpublic Set<String> getAsyncAtomicCounterNames()
getAsyncAtomicCounterNames in interface org.onosproject.store.primitives.DistributedPrimitiveCreator