public abstract static class AbstractLauncher.ServiceState<T extends Comparable<T>> extends Object
Modifier and Type | Method and Description |
---|---|
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.
|
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.Status
public String getStatusMessage()
public Timestamp getTimestamp()
Timestamp
public Long getUptime()
RuntimeMXBean.getUptime()
public String getWorkingDirectory()
public String getLogFile()
public String getHost()
public String getPort()
Copyright © 1997-2017 Pivotal Software, Inc. All rights reserved.