public interface ZooKeeperClusterService
| Modifier and Type | Method and Description |
|---|---|
void |
addToCluster(List<String> containers)
Adds the containers to the cluster.
|
void |
addToCluster(List<String> containers,
CreateEnsembleOptions options)
Adds the containers to the cluster.
|
void |
createCluster(List<String> containers)
Creates a cluster, with the specified containers as servers.
|
void |
createCluster(List<String> containers,
CreateEnsembleOptions options)
Creates a Zookeeper cluster, with the specified containers as servers.
|
Map<String,String> |
getEnsembleConfiguration() |
List<String> |
getEnsembleContainers()
Returns the of containers that participate in the ensemble.
|
String |
getZookeeperPassword()
Returns the ZooKeeper Password.
|
String |
getZooKeeperUrl()
Reutrns the Zookeeper URL.
|
void |
removeFromCluster(List<String> containers)
Removes the containers from the cluster.
|
void |
removeFromCluster(List<String> containers,
CreateEnsembleOptions options)
Removes the containers from the cluster.
|
List<String> getEnsembleContainers()
String getZooKeeperUrl()
String getZookeeperPassword()
Map<String,String> getEnsembleConfiguration() throws Exception
Exceptionvoid createCluster(List<String> containers)
containers - void createCluster(List<String> containers, CreateEnsembleOptions options)
containers - The list of containers.options - The ensemble options.void addToCluster(List<String> containers)
containers - void addToCluster(List<String> containers, CreateEnsembleOptions options)
containers - void removeFromCluster(List<String> containers)
containers - void removeFromCluster(List<String> containers, CreateEnsembleOptions options)
containers - Copyright © 2011–2014 Red Hat. All rights reserved.