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) |
| 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() |
boolean |
isOpen()
Return
true if the managed object is open. |
<V> org.onosproject.store.service.AsyncAtomicValue<V> |
newAsyncAtomicValue(String name,
org.onosproject.store.service.Serializer serializer) |
<K,V> org.onosproject.store.service.AsyncConsistentMap<K,V> |
newAsyncConsistentMap(String name,
org.onosproject.store.service.Serializer serializer) |
org.onosproject.store.service.AsyncAtomicCounter |
newAsyncCounter(String name) |
<E> org.onosproject.store.service.AsyncDistributedSet<E> |
newAsyncDistributedSet(String name,
org.onosproject.store.service.Serializer serializer) |
org.onosproject.store.service.AsyncLeaderElector |
newAsyncLeaderElector(String name) |
<E> org.onosproject.store.service.DistributedQueue<E> |
newDistributedQueue(String name,
org.onosproject.store.service.Serializer serializer) |
CompletableFuture<Void> |
open()
Opens the managed object.
|
public StoragePartitionClient(StoragePartition partition, io.atomix.catalyst.serializer.Serializer serializer, io.atomix.catalyst.transport.Transport transport)
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)
newAsyncConsistentMap in interface org.onosproject.store.primitives.DistributedPrimitiveCreatorpublic <E> org.onosproject.store.service.AsyncDistributedSet<E> newAsyncDistributedSet(String name, org.onosproject.store.service.Serializer serializer)
newAsyncDistributedSet in interface org.onosproject.store.primitives.DistributedPrimitiveCreatorpublic org.onosproject.store.service.AsyncAtomicCounter newAsyncCounter(String name)
newAsyncCounter in interface org.onosproject.store.primitives.DistributedPrimitiveCreatorpublic <V> org.onosproject.store.service.AsyncAtomicValue<V> newAsyncAtomicValue(String name, org.onosproject.store.service.Serializer serializer)
newAsyncAtomicValue in interface org.onosproject.store.primitives.DistributedPrimitiveCreatorpublic <E> org.onosproject.store.service.DistributedQueue<E> newDistributedQueue(String name, org.onosproject.store.service.Serializer serializer)
newDistributedQueue in interface org.onosproject.store.primitives.DistributedPrimitiveCreatorpublic org.onosproject.store.service.AsyncLeaderElector newAsyncLeaderElector(String name)
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 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.Copyright © 2016. All rights reserved.