|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Interface for a CamsServiceMonitor. This object is used to monitor CamsServices that are available on Cams Policy Servers. In otherwords, this monitor object is used to monitor the CamsPolicyServer and not clients.
| Field Summary | |
static int |
MAX_NUMBER_OF_MONITORS
The maximum number of monitors the CamsServiceMonitor will monitor at a given time. |
| Method Summary | |
void |
dump(Logger logger)
Dump the state of all registered CamsService's being monitored. |
CamsServiceState |
getState(String serviceName)
Get the state of the Service with the given serviceName. |
void |
setState(String serviceName,
CamsServiceState state)
Set the state for Service with the given serviceName to that of the state. |
| Methods inherited from interface com.cafesoft.core.util.Destroyable |
destroy |
| Field Detail |
public static final int MAX_NUMBER_OF_MONITORS
| Method Detail |
public CamsServiceState getState(String serviceName)
serviceName - the name of the Service to get the state for.
public void setState(String serviceName,
CamsServiceState state)
serviceName - the name of the Service to set the state for.state - the new CamsServiceState.public void dump(Logger logger)
logger - the logger where all information regarding service's
state is dumped to.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||