|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.tangosol.util.Base
com.tangosol.net.DefaultCacheServer
public class DefaultCacheServer
DefaultCacheServer is a simple command line facility that starts all services that are declared as requiring an "autostart" in the configurable factory XML descriptor.
| Nested Class Summary | |
|---|---|
protected static class |
DefaultCacheServer.ShutdownProcess
ShutdownHook implementation. |
| Field Summary | |
|---|---|
protected static boolean |
s_fShutdown
Flag that indicates whether of not the shutdown was initiated. |
| Constructor Summary | |
|---|---|
DefaultCacheServer()
|
|
| Method Summary | |
|---|---|
static void |
main(String[] asArg)
Entry point: start the cache server using the specified path to the "cache-config.dtd" compliant configuration file and checking the service status every N seconds (keep alive interval). |
static void |
shutdown()
Shutdown the cache server. |
static List |
start()
Start all services that are declared as requiring an "autostart" in the default configurable factory XML descriptor. |
static List |
start(ConfigurableCacheFactory factory)
Start all services that are declared as requiring an "autostart" in the configurable factory XML descriptor. |
static void |
startDaemon()
Start the cache server on a dedicated daemon thread. |
| Field Detail |
|---|
protected static volatile boolean s_fShutdown
| Constructor Detail |
|---|
public DefaultCacheServer()
| Method Detail |
|---|
public static void main(String[] asArg)
Default configuration file is "coherence-cache-config.xml"; default keep alive interval is 5 sec.
Example: java -server -Xms512m -Xmx512m com.tangosol.net.DefaultCacheServer coherence-cache-config.xml 5
public static List start()
public static List start(ConfigurableCacheFactory factory)
factory - DefaultConfigurableCacheFactory to use
public static void startDaemon()
public static void shutdown()
|
CoherenceTM v3.3 Copyright© 2000-2007 by Oracle Corporation |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||