|
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.ServiceState<T>
public abstract 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. The ServiceState associates the Locator with it's state at the exact moment an instance of this class is constructed.
| Method Summary | |
|---|---|
String |
getClasspath()
Gets the Java classpath used when launching the GemFire service. |
String |
getGemFireVersion()
Gets the version of GemFire used to launch and run the GemFire service. |
String |
getHost()
Gets the host or IP address for the process and its service. |
String |
getJavaVersion()
Gets the version of Java used to launch and run the GemFire service. |
List<String> |
getJvmArguments()
Gets the arguments passed to the JVM process that is running the GemFire service. |
String |
getLogFile()
Gets the path of the log file for the process. |
String |
getMemberName()
Gets GemFire member's name for the process. |
Integer |
getPid()
Gets the process ID of the running GemFire service if known, otherwise returns null. |
String |
getPort()
Gets the port for the process and its service. |
String |
getServiceLocation()
Gets the location of the GemFire service (usually the host in combination with the port). |
AbstractLauncher.Status |
getStatus()
Gets the state of the GemFire service. |
String |
getStatusMessage()
Gets description of the the service's current state. |
Timestamp |
getTimestamp()
The date and time the GemFire service was last in this state. |
Long |
getUptime()
Gets the amount of time in milliseconds that the JVM process with the GemFire service has been running. |
String |
getWorkingDirectory()
Gets the directory in which the GemFire service is running. |
String |
toJson()
Marshals this state object into a JSON String. |
String |
toString()
Gets a String describing the state of the GemFire service. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public String toJson()
public String getClasspath()
with 'java.class.path'public String getGemFireVersion()
public String getJavaVersion()
with 'java.verson'public List<String> getJvmArguments()
RuntimeMXBean.getInputArguments()public String getMemberName()
public Integer getPid()
public String getServiceLocation()
public AbstractLauncher.Status getStatus()
AbstractLauncher.Statuspublic String getStatusMessage()
public Timestamp getTimestamp()
Timestamppublic Long getUptime()
RuntimeMXBean.getUptime()public String getWorkingDirectory()
public String getLogFile()
public String getHost()
public String getPort()
public String toString()
toString in class Object
|
GemFire 7.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||