Class ClusterNodeStatus
- java.lang.Object
-
- com.complexible.stardog.api.admin.pack.ClusterNodeStatus
-
public class ClusterNodeStatus extends java.lang.Object
A convenience class to status information from many nodes
- Since:
- 5.0
- Version:
- 5.0
- Author:
- John Bresnahan
-
-
Constructor Summary
Constructors Constructor Description ClusterNodeStatus(java.lang.String theNodeAddress, java.util.Map<java.lang.String,java.lang.Object> theMetadata, ClusterNodeType theNodeType, ClusterNodeRole theNodeRole, boolean theReadOnly, java.util.UUID theLastAdminTx, java.util.UUID theLastZKSystemDbTx, java.util.Map<java.lang.String,java.util.UUID> theDatabaseTxns, java.util.Map<java.lang.String,java.util.UUID> theZKDatabaseTxns)
ClusterNodeStatus(java.lang.String theNodeAddress, java.util.Map<java.lang.String,java.lang.Object> theMetadata, java.lang.String theNodeType, java.lang.String theNodeRole, boolean theReadOnly, java.util.UUID theLastAdminTx, java.util.UUID theLastZKSystemDbTx, java.util.Map<java.lang.String,java.util.UUID> theDatabaseTxns, java.util.Map<java.lang.String,java.util.UUID> theZKDatabaseTxns)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.util.UUID>
getDatabaseTxns()
java.util.UUID
getLastAdminTx()
java.lang.String
getLastZKSystemDbTx()
java.util.Map<java.lang.String,java.lang.Object>
getMetadata()
java.lang.String
getNodeAddress()
ClusterNodeType
getNodeType()
boolean
getReadOnly()
ClusterNodeRole
getRole()
java.util.Map<java.lang.String,java.util.UUID>
getZKDatabaseTxns()
boolean
isCoordinator()
-
-
-
Constructor Detail
-
ClusterNodeStatus
public ClusterNodeStatus(java.lang.String theNodeAddress, java.util.Map<java.lang.String,java.lang.Object> theMetadata, java.lang.String theNodeType, java.lang.String theNodeRole, boolean theReadOnly, java.util.UUID theLastAdminTx, java.util.UUID theLastZKSystemDbTx, java.util.Map<java.lang.String,java.util.UUID> theDatabaseTxns, java.util.Map<java.lang.String,java.util.UUID> theZKDatabaseTxns)
-
ClusterNodeStatus
public ClusterNodeStatus(java.lang.String theNodeAddress, java.util.Map<java.lang.String,java.lang.Object> theMetadata, ClusterNodeType theNodeType, ClusterNodeRole theNodeRole, boolean theReadOnly, java.util.UUID theLastAdminTx, java.util.UUID theLastZKSystemDbTx, java.util.Map<java.lang.String,java.util.UUID> theDatabaseTxns, java.util.Map<java.lang.String,java.util.UUID> theZKDatabaseTxns)
-
-
Method Detail
-
getNodeAddress
public java.lang.String getNodeAddress()
-
getMetadata
public java.util.Map<java.lang.String,java.lang.Object> getMetadata()
-
getDatabaseTxns
public java.util.Map<java.lang.String,java.util.UUID> getDatabaseTxns()
-
getZKDatabaseTxns
public java.util.Map<java.lang.String,java.util.UUID> getZKDatabaseTxns()
-
getNodeType
public ClusterNodeType getNodeType()
-
getRole
public ClusterNodeRole getRole()
-
getReadOnly
public boolean getReadOnly()
-
getLastAdminTx
public java.util.UUID getLastAdminTx()
-
getLastZKSystemDbTx
public java.lang.String getLastZKSystemDbTx()
-
isCoordinator
public boolean isCoordinator()
-
-