public interface ServerGroupManager
| Modifier and Type | Method and Description |
|---|---|
void |
reloadServers(String groupName)
Reloads all the servers associated with this server group.
|
void |
restartServers(String groupName)
Restarts all the servers associated with this server group.
|
void |
resumeServers(String groupName)
Resumes all the previously suspended servers associated with this server group.
|
void |
startServers(String groupName)
Starts all the servers associated with this server group.
|
void |
stopServers(String groupName)
Stops all the servers associated with this server group.
|
void |
suspendServers(String groupName,
int timeout)
Suspends all the servers associated with this server group.
|
void reloadServers(String groupName)
groupName - the name of the server groupIllegalStateException - if lifecycle operations are not allowedRuntimeException - if the reload operation failsvoid restartServers(String groupName)
groupName - the name of the server groupIllegalStateException - if lifecycle operations are not allowedRuntimeException - if the restart operation failsvoid resumeServers(String groupName)
groupName - the name of the server groupIllegalStateException - if lifecycle operations are not allowedRuntimeException - if the resume operation failsvoid startServers(String groupName)
groupName - the name of the server groupIllegalStateException - if lifecycle operations are not allowedRuntimeException - if the start operation failsvoid stopServers(String groupName)
groupName - the name of the server groupIllegalStateException - if lifecycle operations are not allowedRuntimeException - if the stop operation failsvoid suspendServers(String groupName, int timeout)
groupName - the name of the server grouptimeout - the timeout in seconds. A value of 0 returns immediately and a value of -1 will wait indefinitelyIllegalStateException - if lifecycle operations are not allowedRuntimeException - if the suspend operation failsCopyright © 2018 JBoss by Red Hat. All rights reserved.