ehcache

net.sf.ehcache.management
Interface ManagementServer


public interface ManagementServer

Interface implemented by management servers.

Author:
Ludovic Orban, brandony

Method Summary
 boolean hasRegistered()
          Returns true if this ManagementServer has any resources registered.
 void register(CacheManager managedResource)
          Puts the submitted resource under the purview of this ManagementServer.
 void registerMBean(String clientUUID)
          Register this servive as an MBean if not done already
 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.
 

Method Detail

start

void start()
Start the management server


stop

void stop()
Stop the management server


register

void register(CacheManager managedResource)
Puts the submitted resource under the purview of this ManagementServer.

Parameters:
managedResource - the resource to be managed

unregister

void unregister(CacheManager managedResource)
Removes the submitted resource under the purview of this ManagementServer.

Parameters:
managedResource - the resource to be managed

hasRegistered

boolean hasRegistered()
Returns true if this ManagementServer has any resources registered.

Returns:
true if actively managing resources, false if not.

registerMBean

void registerMBean(String clientUUID)
Register this servive as an MBean if not done already

Parameters:
clientUUID - the clusteredInstanceFactory UUID

ehcache

Copyright 2001-2014, Terracotta, Inc.