public class ClusterDefinitionStore extends Object
| Constructor and Description |
|---|
ClusterDefinitionStore(String filePath)
Creates a reader/writer of the cluster definition file.
|
| Modifier and Type | Method and Description |
|---|---|
Set<org.onosproject.cluster.DefaultControllerNode> |
read() |
void |
write(Set<org.onosproject.cluster.DefaultControllerNode> nodes) |
public ClusterDefinitionStore(String filePath)
filePath - location of the definition filepublic Set<org.onosproject.cluster.DefaultControllerNode> read() throws IOException
IOExceptionpublic void write(Set<org.onosproject.cluster.DefaultControllerNode> nodes) throws IOException
IOExceptionCopyright © 2014. All rights reserved.