|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ManagementServer
Interface implemented by management servers.
Method Summary | |
---|---|
void |
addClientUUID(String clientUUID)
add a reference to the clientUUID to the EhCache Mbean That allows the TSA to keep track of all the toolkit clients available through an agent |
boolean |
hasRegistered()
Returns true if this ManagementServer has any resources registered. |
void |
initialize(ManagementRESTServiceConfiguration configuration)
Initialize method to call just after instantiating the class |
void |
register(CacheManager managedResource)
Puts the submitted resource under the purview of this ManagementServer . |
void |
registerClusterRemoteEndpoint(String clientUUID)
Register the cluster endpoint of a specific client to enable clustered monitoring. |
void |
removeClientUUID(String clientUUID)
remove the reference to the clientUUID from the EhCache Mbean |
void |
start()
Start the management server |
void |
stop()
Stop the management server |
void |
unregister(CacheManager managedResource)
Removes the submitted resource under the purview of this ManagementServer . |
void |
unregisterClusterRemoteEndpoint()
Unregister the previously registered cluster endpoint. |
Method Detail |
---|
void start()
void stop()
void register(CacheManager managedResource)
ManagementServer
.
managedResource
- the resource to be managedvoid unregister(CacheManager managedResource)
ManagementServer
.
managedResource
- the resource to be managedboolean hasRegistered()
ManagementServer
has any resources registered.
void initialize(ManagementRESTServiceConfiguration configuration)
configuration
- the configuration of the rest agentvoid registerClusterRemoteEndpoint(String clientUUID)
clientUUID
- the client UUIDvoid addClientUUID(String clientUUID)
clientUUID
- the client UUIDvoid removeClientUUID(String clientUUID)
clientUUID
- the client UUIDvoid unregisterClusterRemoteEndpoint()
|
ehcache | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |