public class Topology extends Object implements Serializable
| Constructor and Description |
|---|
Topology() |
| Modifier and Type | Method and Description |
|---|---|
void |
addService(Service service) |
void |
addToCluterMap(Cluster cluster) |
void |
clear() |
boolean |
clusterExist(String clusterId) |
Cluster |
getCluster(String clusterId) |
Service |
getService(String serviceName) |
Collection<Service> |
getServices() |
boolean |
isInitialized() |
void |
removeFromClusterMap(String cluserId) |
void |
removeService(Service service) |
void |
removeService(String serviceName) |
boolean |
serviceExists(String serviceName) |
void |
setInitialized(boolean initialized) |
String |
toString() |
public Collection<Service> getServices()
public void addService(Service service)
public void removeService(Service service)
public void removeService(String serviceName)
public boolean serviceExists(String serviceName)
public void addToCluterMap(Cluster cluster)
public void removeFromClusterMap(String cluserId)
public boolean clusterExist(String clusterId)
public void clear()
public void setInitialized(boolean initialized)
public boolean isInitialized()
Copyright © 2012–2016 The Apache Software Foundation. All rights reserved.