public class HeartbeatPayload extends Object
| Modifier and Type | Field and Description |
|---|---|
private int |
activeThreadCount |
private List<NodeConnectionStatus> |
clusterStatus |
private static JAXBContext |
JAXB_CONTEXT |
private long |
systemStartTime |
private long |
totalFlowFileBytes |
private long |
totalFlowFileCount |
| Constructor and Description |
|---|
HeartbeatPayload() |
| Modifier and Type | Method and Description |
|---|---|
int |
getActiveThreadCount() |
List<NodeConnectionStatus> |
getClusterStatus() |
long |
getSystemStartTime() |
long |
getTotalFlowFileBytes() |
long |
getTotalFlowFileCount() |
byte[] |
marshal() |
static void |
marshal(HeartbeatPayload payload,
OutputStream os) |
void |
setActiveThreadCount(int activeThreadCount) |
void |
setClusterStatus(List<NodeConnectionStatus> clusterStatus) |
void |
setSystemStartTime(long systemStartTime) |
void |
setTotalFlowFileBytes(long totalFlowFileBytes) |
void |
setTotalFlowFileCount(long totalFlowFileCount) |
static HeartbeatPayload |
unmarshal(byte[] bytes) |
static HeartbeatPayload |
unmarshal(InputStream is) |
private static final JAXBContext JAXB_CONTEXT
private int activeThreadCount
private long totalFlowFileCount
private long totalFlowFileBytes
private long systemStartTime
private List<NodeConnectionStatus> clusterStatus
public int getActiveThreadCount()
public void setActiveThreadCount(int activeThreadCount)
public long getTotalFlowFileCount()
public void setTotalFlowFileCount(long totalFlowFileCount)
public long getTotalFlowFileBytes()
public void setTotalFlowFileBytes(long totalFlowFileBytes)
public long getSystemStartTime()
public void setSystemStartTime(long systemStartTime)
public List<NodeConnectionStatus> getClusterStatus()
public void setClusterStatus(List<NodeConnectionStatus> clusterStatus)
public byte[] marshal()
throws ProtocolException
ProtocolExceptionpublic static void marshal(HeartbeatPayload payload, OutputStream os) throws ProtocolException
ProtocolExceptionpublic static HeartbeatPayload unmarshal(InputStream is) throws ProtocolException
ProtocolExceptionpublic static HeartbeatPayload unmarshal(byte[] bytes) throws ProtocolException
ProtocolExceptionCopyright © 2016 Apache NiFi Project. All rights reserved.