public static class LocatorLauncher.LocatorState extends AbstractLauncher.ServiceState<String>
AbstractLauncher.ServiceState
JSON_CLASSPATH, JSON_GEMFIREVERSION, JSON_HOST, JSON_JAVAVERSION, JSON_JVMARGUMENTS, JSON_LOCATION, JSON_LOGFILE, JSON_MEMBERNAME, JSON_PID, JSON_PORT, JSON_STATUS, JSON_STATUSMESSAGE, JSON_TIMESTAMP, JSON_UPTIME, JSON_WORKINGDIRECTORY
Modifier | Constructor and Description |
---|---|
protected |
LocatorState(AbstractLauncher.Status status,
String statusMessage,
long timestamp,
String locatorLocation,
Integer pid,
Long uptime,
String workingDirectory,
List<String> jvmArguments,
String classpath,
String gemfireVersion,
String javaVersion,
String logFile,
String host,
String port,
String memberName) |
|
LocatorState(LocatorLauncher launcher,
AbstractLauncher.Status status) |
|
LocatorState(LocatorLauncher launcher,
AbstractLauncher.Status status,
String errorMessage) |
Modifier and Type | Method and Description |
---|---|
static LocatorLauncher.LocatorState |
fromDirectory(String workingDirectory,
String memberName) |
static LocatorLauncher.LocatorState |
fromJson(String json)
Unmarshals a LocatorState instance from the JSON String.
|
protected String |
getServiceName()
Gets the name of the GemFire service.
|
format, getClasspath, getGemFireVersion, getHost, getJavaVersion, getJvmArguments, getLogFile, getMemberName, getPid, getPort, getServiceLocation, getStatus, getStatusMessage, getTimestamp, getUptime, getWorkingDirectory, identifyPid, isStartingNotRespondingOrNull, isStartingOrNotResponding, isVmWithProcessIdRunning, toDaysHoursMinutesSeconds, toJson, toString, toString, toString, toString, toString
public LocatorState(LocatorLauncher launcher, AbstractLauncher.Status status)
public LocatorState(LocatorLauncher launcher, AbstractLauncher.Status status, String errorMessage)
protected LocatorState(AbstractLauncher.Status status, String statusMessage, long timestamp, String locatorLocation, Integer pid, Long uptime, String workingDirectory, List<String> jvmArguments, String classpath, String gemfireVersion, String javaVersion, String logFile, String host, String port, String memberName)
public static LocatorLauncher.LocatorState fromJson(String json)
json
- a JSON Stringpublic static LocatorLauncher.LocatorState fromDirectory(String workingDirectory, String memberName)
protected String getServiceName()
AbstractLauncher.ServiceState
getServiceName
in class AbstractLauncher.ServiceState<String>