public static class OpenGridCluster.Info extends Object
Modifier and Type | Field and Description |
---|---|
private long |
created |
private boolean |
error |
private CmdResult<String> |
hostInfo |
private CmdResult<String> |
ogsInfo |
private int |
timeAdjustment |
Constructor and Description |
---|
Info(OpenGridSession session) |
Modifier and Type | Method and Description |
---|---|
org.json.simple.JSONObject |
asJSONObject(JSONOptions options)
Get the information as a JSON object.
|
long |
created()
The timestamp when this information was created.
|
CmdResult<String> |
getHostInfo()
Get the cached result of the call to
OpenGridSession.getHostInfo() . |
CmdResult<String> |
getOpenGridInfo()
Get the cached result of the call to
OpenGridSession.getOpenGridInfo() . |
int |
getTimeAdjustment()
Get the cached result of the call to
OpenGridSession.getTimeAdjustment() . |
private final long created
private final int timeAdjustment
private final boolean error
Info(OpenGridSession session)
public long created()
public CmdResult<String> getHostInfo()
OpenGridSession.getHostInfo()
.public CmdResult<String> getOpenGridInfo()
OpenGridSession.getOpenGridInfo()
.public int getTimeAdjustment()
OpenGridSession.getTimeAdjustment()
.public org.json.simple.JSONObject asJSONObject(JSONOptions options)