public abstract class AbstractServerGroup extends java.lang.Object implements ServerGroup
| Constructor and Description |
|---|
AbstractServerGroup() |
| Modifier and Type | Method and Description |
|---|---|
void |
addServer(Server server) |
void |
addServers(ServerGroup serverGroup) |
void |
clearAll() |
int |
getNum() |
Server |
getServer(java.lang.String host) |
boolean |
isEmpty() |
java.lang.String[] |
listServerHosts() |
Server[] |
listServers() |
void |
removeServer(java.lang.String host) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteCommands, executeShell, executeSingleCommandGetResponsepublic void addServer(Server server)
addServer in interface ServerGrouppublic void addServers(ServerGroup serverGroup)
addServers in interface ServerGrouppublic int getNum()
getNum in interface ServerGrouppublic boolean isEmpty()
isEmpty in interface ServerGrouppublic Server getServer(java.lang.String host)
getServer in interface ServerGrouppublic void removeServer(java.lang.String host)
removeServer in interface ServerGrouppublic void clearAll()
clearAll in interface ServerGrouppublic Server[] listServers()
listServers in interface ServerGrouppublic java.lang.String[] listServerHosts()
listServerHosts in interface ServerGroupCopyright © 2014. All Rights Reserved.