public class NodeAgentInfo extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
NodeAgentInfo.AgentState |
| Modifier and Type | Field and Description |
|---|---|
static String |
JavaVendor |
static String |
JavaVersion |
static String |
NodeCpus |
static String |
OSArchitecture |
static String |
OSName |
static String |
OSVersion |
| Constructor and Description |
|---|
NodeAgentInfo(String hostname,
String id) |
| Modifier and Type | Method and Description |
|---|---|
void |
dump() |
String |
getAgentLog() |
String |
getHostname() |
String |
getId() |
String |
getIp() |
int |
getJmxPort() |
Properties |
getProperties() |
String |
getProperty(String key) |
NodeAgentInfo.AgentState |
getStatus() |
boolean |
isFirstHeartbeat() |
void |
setAgentLog(String agentLog) |
void |
setIp(String ip) |
void |
setJmxPort(int jmxPort) |
void |
setProperties(Properties properties) |
void |
setProperty(String key,
String value) |
void |
setStatus(NodeAgentInfo.AgentState status) |
public static final String OSName
public static final String OSVersion
public static final String OSArchitecture
public static final String NodeCpus
public static final String JavaVendor
public static final String JavaVersion
public boolean isFirstHeartbeat()
public NodeAgentInfo.AgentState getStatus()
public String getAgentLog()
public void setAgentLog(String agentLog)
public String getIp()
public void setIp(String ip)
public void setStatus(NodeAgentInfo.AgentState status)
status - the status to setpublic Properties getProperties()
public void setProperties(Properties properties)
public int getJmxPort()
public void setJmxPort(int jmxPort)
jmxPort - the jmxPort to setpublic String getHostname()
public String getId()
public void dump()
Copyright © 2012–2017 The Apache Software Foundation. All rights reserved.