Modifier and Type | Field and Description |
---|---|
protected String |
defaultJmxUrl |
protected long |
endTime |
protected long |
id |
static org.apache.log4j.Logger |
logger |
protected long |
startTime |
protected Map<String,String> |
usageInfo |
Constructor and Description |
---|
NodeHistory()
Default constructor for Hibernate
|
NodeHistory(RMNodeEvent event)
Constructs new history record.
|
Modifier and Type | Method and Description |
---|---|
String |
getDefaultJmxUrl() |
long |
getEndTime() |
String |
getHost() |
String |
getNodeSource() |
NodeState |
getNodeState() |
String |
getNodeUrl() |
String |
getProviderName() |
long |
getStartTime() |
Map<String,String> |
getUsageInfo() |
String |
getUserName() |
boolean |
isStoreInDataBase() |
void |
setDefaultJmxUrl(String defaultJmxUrl) |
void |
setEndTime(long endTime) |
void |
setHost(String host) |
void |
setNodeSource(String nodeSource) |
void |
setNodeState(NodeState nodeState) |
void |
setNodeUrl(String nodeUrl) |
void |
setProviderName(String providerName) |
void |
setStartTime(long startTime) |
void |
setStoreInDataBase(boolean storeInDataBase) |
void |
setUsageInfo(Map<String,String> usageInfo) |
void |
setUserName(String userName) |
public static final org.apache.log4j.Logger logger
protected long id
protected long startTime
protected long endTime
protected String defaultJmxUrl
public NodeHistory()
public NodeHistory(RMNodeEvent event)
public String getNodeUrl()
public void setNodeUrl(String nodeUrl)
public String getHost()
public void setHost(String host)
public String getNodeSource()
public void setNodeSource(String nodeSource)
public String getUserName()
public void setUserName(String userName)
public String getProviderName()
public void setProviderName(String providerName)
public NodeState getNodeState()
public void setNodeState(NodeState nodeState)
public long getStartTime()
public void setStartTime(long startTime)
public long getEndTime()
public void setEndTime(long endTime)
public boolean isStoreInDataBase()
public void setStoreInDataBase(boolean storeInDataBase)
public String getDefaultJmxUrl()
public void setDefaultJmxUrl(String defaultJmxUrl)