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