public class ClusterDefinition extends Object
| Constructor and Description |
|---|
ClusterDefinition() |
| Modifier and Type | Method and Description |
|---|---|
static ClusterDefinition |
from(Set<NodeInfo> nodes,
String ipPrefix)
Creates a new cluster definition.
|
String |
getIpPrefix()
Returns ipPrefix in dotted decimal notion.
|
Set<NodeInfo> |
getNodes()
Returns set of cluster nodes info.
|
public static ClusterDefinition from(Set<NodeInfo> nodes, String ipPrefix)
nodes - cluster nodes informationipPrefix - ip prefix common to all cluster nodespublic Set<NodeInfo> getNodes()
public String getIpPrefix()
Copyright © 2015. All rights reserved.