public class ManagementServerLoader extends Object
Constructor and Description |
---|
ManagementServerLoader() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isManagementAvailable()
Check if the ehcache-rest-agent jar is on the classpath
|
static void |
register(CacheManager cacheManager,
String clientUUID,
ManagementRESTServiceConfiguration managementRESTServiceConfiguration)
Register a cacheManager to management rest server.
|
static void |
unregister(String registeredMgmtSvrBind,
CacheManager cacheManager)
Unregister a cache manager from a management rest server
If it is the last cache manager bound to this server, stops the server too.
|
public static boolean isManagementAvailable()
public static void register(CacheManager cacheManager, String clientUUID, ManagementRESTServiceConfiguration managementRESTServiceConfiguration)
cacheManager
- the cacheManager to registerclientUUID
- the client UUIDmanagementRESTServiceConfiguration
- the management configurationpublic static void unregister(String registeredMgmtSvrBind, CacheManager cacheManager)
registeredMgmtSvrBind
- the bind identifying what to un-register fromcacheManager
- the cacheManager to un-registerCopyright © 2003–2016 Terracotta, Inc.. All rights reserved.