public class Heartbeat extends Object
| Constructor and Description |
|---|
Heartbeat() |
Heartbeat(String componentId,
String instanceId) |
Heartbeat(String componentId,
String instanceId,
String status) |
| Modifier and Type | Method and Description |
|---|---|
String |
getComponentId()
Gets the component identifier.
|
String |
getInstanceId()
Gets the identifier for a particular instance of a component such as an IP address.
|
String |
getStatus()
Gets the optional status message which might include additional statistics on health.
|
Long |
getTime()
Gets the epoch time of the health check.
|
void |
setComponentId(String component)
Sets the component identifier.
|
void |
setInstanceId(String instanceId)
Sets the identifier for a particular instance of a component.
|
void |
setStatus(String status)
Sets the optional status message which might include additional statistics on health.
|
void |
setTime(Long time)
Sets the epoch time of the health check.
|
public String getComponentId()
public void setComponentId(String component)
component - public String getInstanceId()
public void setInstanceId(String instanceId)
instanceId - public Long getTime()
public void setTime(Long time)
time - public String getStatus()
public void setStatus(String status)
status - Copyright © 2014 Alfresco Software. All rights reserved.