public class StoragePartitionClient extends Object implements org.onosproject.store.primitives.DistributedPrimitiveCreator, Managed<StoragePartitionClient>
| Constructor and Description |
|---|
StoragePartitionClient(StoragePartition partition,
io.atomix.catalyst.serializer.Serializer serializer,
io.atomix.catalyst.transport.Transport transport,
Executor sharedExecutor) |
| Modifier and Type | Method and Description |
|---|---|
org.onosproject.store.service.PartitionClientInfo |
clientInfo()
Returns the
information for this client. |
CompletableFuture<Void> |
close()
Closes the managed object.
|
Set<String> |
getAsyncAtomicCounterNames() |
Set<String> |
getAsyncConsistentMapNames() |
Set<String> |
getWorkQueueNames() |
boolean |
isOpen()
Return
true if the managed object is open. |
<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) |
CompletableFuture<Void> |
open()
Opens the managed object.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitnewAsyncAtomicCounterMap, newAsyncAtomicValue, newAsyncConsistentMap, newAsyncConsistentSetMultimap, newAsyncConsistentTreeMap, newAsyncCounter, newAsyncDistributedSet, newAsyncDocumentTree, newAsyncLeaderElector, newWorkQueuepublic StoragePartitionClient(StoragePartition partition, io.atomix.catalyst.serializer.Serializer serializer, io.atomix.catalyst.transport.Transport transport, Executor sharedExecutor)
public CompletableFuture<Void> open()
Managedopen in interface Managed<StoragePartitionClient>public CompletableFuture<Void> close()
Managedclose in interface Managed<StoragePartitionClient>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 <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 org.onosproject.store.service.AsyncLeaderElector newAsyncLeaderElector(String name, Supplier<Executor> executorSupplier)
newAsyncLeaderElector 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.DistributedPrimitiveCreatorpublic Set<String> getWorkQueueNames()
getWorkQueueNames in interface org.onosproject.store.primitives.DistributedPrimitiveCreatorpublic boolean isOpen()
Managedtrue if the managed object is open.isOpen in interface Managed<StoragePartitionClient>true if openpublic org.onosproject.store.service.PartitionClientInfo clientInfo()
information for this client.