|
GemFire 7.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.gemstone.gemfire.distributed.AbstractLauncher<T>
public abstract class AbstractLauncher<T extends Comparable<T>>
The AbstractLauncher class is a base class for implement various launchers to construct and run different GemFire processes, like Cache servers or Locators, Managers, HTTP servers and so on.
Comparable,
Runnable,
Identifiable,
Serialized Form| Nested Class Summary | |
|---|---|
static class |
AbstractLauncher.ServiceState<T extends Comparable<T>>
The ServiceState is an immutable type representing the state of the specified Locator at any given moment in time. |
static class |
AbstractLauncher.Status
The Status enumerated type represents the various lifecycle states of a GemFire service (such as a Cache Server, a Locator or a Manager). |
| Field Summary | |
|---|---|
static String |
DEFAULT_WORKING_DIRECTORY
|
static String |
SIGNAL_HANLDER_REGISTRATION_SYSTEM_PROPERTY
|
| Constructor Summary | |
|---|---|
AbstractLauncher()
|
|
| Method Summary | |
|---|---|
abstract String |
getLogFileName()
Gets the name of the log file used to log information about this GemFire service. |
String |
getMember()
Gets the name or ID of the member in the GemFire distributed system. |
String |
getMemberId()
Gets the ID of the member in the GemFire distributed system as determined and assigned by GemFire when the member process joins the distributed system. |
abstract String |
getMemberName()
Gets the name of the member in the GemFire distributed system as determined by the 'name' GemFire property. |
abstract Integer |
getPid()
Gets the user-specified process ID (PID) of the running GemFire service that AbstractLauncher implementations can use to determine status, or stop the service. |
abstract String |
getServiceName()
Gets the name of the GemFire service. |
String |
getWorkingDirectory()
Gets the working directory pathname in which the process will be run. |
boolean |
isDebugging()
Determines whether the Locator launcher is in debug mode. |
boolean |
isRunning()
Determines whether the Locator referenced by this launcher is running. |
void |
setDebug(boolean debug)
Sets the debug mode of the GemFire launcher class. |
String |
version()
Gets the version of GemFire currently running. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.lang.Runnable |
|---|
run |
| Methods inherited from interface com.gemstone.gemfire.lang.Identifiable |
|---|
getId |
| Field Detail |
|---|
public static final String DEFAULT_WORKING_DIRECTORY
public static final String SIGNAL_HANLDER_REGISTRATION_SYSTEM_PROPERTY
| Constructor Detail |
|---|
public AbstractLauncher()
| Method Detail |
|---|
public boolean isDebugging()
setDebug(boolean)public final void setDebug(boolean debug)
debug - a boolean used to enable or disable debug mode.isDebugging()public boolean isRunning()
public abstract String getLogFileName()
public String getMember()
getMemberName(),
getMemberId()public abstract String getMemberName()
public String getMemberId()
public abstract Integer getPid()
public abstract String getServiceName()
public String getWorkingDirectory()
public String version()
|
GemFire 7.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||