public class GlobalCacheSystem extends AbstractResinSubSystem
Modifier and Type | Field and Description |
---|---|
static int |
START_PRIORITY |
START_PRIORITY_CACHE_SERVICE, START_PRIORITY_CLASSLOADER, START_PRIORITY_CLUSTER_SERVICE, START_PRIORITY_DATABASE_SYSTEM, START_PRIORITY_DEFAULT, START_PRIORITY_ENV_SYSTEM, START_PRIORITY_NETWORK_CLUSTER, STOP_PRIORITY_CLASSLOADER
Modifier and Type | Method and Description |
---|---|
static GlobalCacheSystem |
createAndAddService() |
static GlobalCacheSystem |
getCurrent() |
com.caucho.cloud.globalcache.GlobalCacheManager |
getManager() |
int |
getStartPriority()
Returns the start priority of the service, used to determine which
services to start first.
|
boolean |
isClosed() |
void |
start()
Starts the service.
|
void |
stop()
Stops the service.
|
destroy, getStopPriority, isActive, preCreate, toString
public static final int START_PRIORITY
public static GlobalCacheSystem getCurrent()
public static GlobalCacheSystem createAndAddService()
public boolean isClosed()
public com.caucho.cloud.globalcache.GlobalCacheManager getManager()
public int getStartPriority()
ResinSubSystem
getStartPriority
in interface ResinSubSystem
getStartPriority
in class AbstractResinSubSystem
public void start()
ResinSubSystem
start
in interface ResinSubSystem
start
in class AbstractResinSubSystem
public void stop()
ResinSubSystem
stop
in interface ResinSubSystem
stop
in class AbstractResinSubSystem