public class NodeHeartbeatData extends Object
| Constructor and Description |
|---|
NodeHeartbeatData(String nodeId,
long lastHeartbeat,
boolean isNewNode)
Constructor for NodeHeartbeatData.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getLastHeartbeat()
Getter method for last heartbeat.
|
String |
getNodeId()
Getter method for Node ID.
|
boolean |
isNewNode()
Getter method for isNewNode.
|
public NodeHeartbeatData(String nodeId, long lastHeartbeat, boolean isNewNode)
nodeId - node IDlastHeartbeat - last heartbeat received from the nodeisNewNode - true if new nodepublic String getNodeId()
public long getLastHeartbeat()
public boolean isNewNode()
Copyright © 2018 WSO2. All rights reserved.