| Package | Description |
|---|---|
| org.onosproject.store.cluster.impl |
Implementation of a distributed cluster node store using Hazelcast.
|
| org.onosproject.store.consistent.impl |
Implementation of partitioned and distributed store facility capable of
providing consistent update semantics.
|
| Modifier and Type | Method and Description |
|---|---|
static NodeInfo |
NodeInfo.from(String id,
String ip,
int port)
Creates a new instance.
|
static NodeInfo |
NodeInfo.of(org.onosproject.cluster.ControllerNode node)
Returns the NodeInfo for a controller node.
|
| Modifier and Type | Method and Description |
|---|---|
Set<NodeInfo> |
ClusterDefinition.getNodes()
Returns set of cluster nodes info.
|
| Modifier and Type | Method and Description |
|---|---|
static ClusterDefinition |
ClusterDefinition.from(Set<NodeInfo> nodes,
String ipPrefix)
Creates a new cluster definition.
|
| Modifier and Type | Method and Description |
|---|---|
Set<NodeInfo> |
DatabaseDefinition.getNodes()
Returns the set of nodes.
|
Map<String,Set<NodeInfo>> |
DatabaseDefinition.getPartitions()
Returns the map of database partitions.
|
| Modifier and Type | Method and Description |
|---|---|
protected String |
DatabaseManager.nodeToUri(NodeInfo node) |
| Modifier and Type | Method and Description |
|---|---|
static DatabaseDefinition |
DatabaseDefinition.from(Map<String,Set<NodeInfo>> partitions,
Set<NodeInfo> nodes)
Creates a new DatabaseDefinition.
|
static DatabaseDefinition |
DatabaseDefinition.from(Map<String,Set<NodeInfo>> partitions,
Set<NodeInfo> nodes)
Creates a new DatabaseDefinition.
|
static DatabaseDefinition |
DatabaseDefinition.from(Set<NodeInfo> nodes)
Creates a new DatabaseDefinition using default partitions.
|
Copyright © 2015. All rights reserved.