@Service public class DatabaseManager extends Object implements org.onosproject.store.service.StorageService, org.onosproject.store.service.StorageAdminService
| Modifier and Type | Field and Description |
|---|---|
protected org.onosproject.cluster.ClusterService |
clusterService |
static int |
COPYCAT_TCP_PORT |
| Constructor and Description |
|---|
DatabaseManager() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate() |
<K,V> org.onosproject.store.service.ConsistentMap<K,V> |
createConsistentMap(String name,
org.onosproject.store.service.Serializer serializer) |
org.onosproject.store.service.TransactionContext |
createTransactionContext() |
void |
deactivate() |
List<org.onosproject.store.service.PartitionInfo> |
getPartitionInfo() |
protected String |
nodeToUri(NodeInfo node) |
public static final int COPYCAT_TCP_PORT
@Reference(cardinality=MANDATORY_UNARY) protected org.onosproject.cluster.ClusterService clusterService
@Activate public void activate()
@Deactivate public void deactivate()
public <K,V> org.onosproject.store.service.ConsistentMap<K,V> createConsistentMap(String name, org.onosproject.store.service.Serializer serializer)
createConsistentMap in interface org.onosproject.store.service.StorageServicepublic org.onosproject.store.service.TransactionContext createTransactionContext()
createTransactionContext in interface org.onosproject.store.service.StorageServicepublic List<org.onosproject.store.service.PartitionInfo> getPartitionInfo()
getPartitionInfo in interface org.onosproject.store.service.StorageAdminServiceCopyright © 2015. All rights reserved.