public class NodeDetail extends Object
| Constructor and Description |
|---|
NodeDetail(String nodeId,
boolean isCoordinator)
Constructor for node details.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getNodeId()
Getter method for the node ID.
|
boolean |
isCoordinator()
Retrieve whether the node represented by the node details is the coordinator.
|
public NodeDetail(String nodeId, boolean isCoordinator)
nodeId - the node ID of the nodeisCoordinator - whether the node represented by the node details is the coordinator.public String getNodeId()
public boolean isCoordinator()
Copyright © 2017 WSO2. All rights reserved.