public static class ServerLauncher.ServerState 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 |
ServerState(AbstractLauncher.Status status,
String statusMessage,
long timestamp,
String serverLocation,
Integer pid,
Long uptime,
String workingDirectory,
List<String> jvmArguments,
String classpath,
String gemfireVersion,
String javaVersion,
String logFile,
String host,
String port,
String memberName) |
|
ServerState(ServerLauncher launcher,
AbstractLauncher.Status status) |
|
ServerState(ServerLauncher launcher,
AbstractLauncher.Status status,
String errorMessage) |
Modifier and Type | Method and Description |
---|---|
static ServerLauncher.ServerState |
fromDirectory(String workingDirectory,
String memberName) |
static ServerLauncher.ServerState |
fromJson(String json)
Unmarshals a ServerState 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 ServerState(ServerLauncher launcher, AbstractLauncher.Status status)
public ServerState(ServerLauncher launcher, AbstractLauncher.Status status, String errorMessage)
protected ServerState(AbstractLauncher.Status status, String statusMessage, long timestamp, String serverLocation, 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 ServerLauncher.ServerState fromJson(String json)
json
- a JSON Stringpublic static ServerLauncher.ServerState fromDirectory(String workingDirectory, String memberName)
protected String getServiceName()
AbstractLauncher.ServiceState
getServiceName
in class AbstractLauncher.ServiceState<String>