public static class Cluster.Record extends java.lang.Object implements Types.Record
Modifier and Type | Field and Description |
---|---|
java.util.Set<Types.ClusterOperation> |
allowedOperations
list of the operations allowed in this state.
|
java.util.Map<java.lang.String,java.lang.String> |
clusterConfig
Contains read-only settings for the cluster, such as timeouts and other options.
|
java.util.Set<ClusterHost> |
clusterHosts
A list of the cluster_host objects associated with the Cluster
Experimental.
|
java.lang.String |
clusterStack
Simply the string 'corosync'.
|
java.lang.String |
clusterToken
The secret key used by xapi-clusterd when it talks to itself on other hosts
Experimental.
|
java.util.Map<java.lang.String,Types.ClusterOperation> |
currentOperations
links each of the running tasks using this object (by reference) to a current_operation enum which describes the nature of the task.
|
java.util.Map<java.lang.String,java.lang.String> |
otherConfig
Additional configuration
Experimental.
|
java.util.Set<java.lang.String> |
pendingForget
Internal field used by Host.destroy to store the IP of cluster members marked as permanently dead but not yet removed
Experimental.
|
java.lang.Boolean |
poolAutoJoin
True if automatically joining new pool members to the cluster.
|
java.lang.Double |
tokenTimeout
The corosync token timeout in seconds
|
java.lang.Double |
tokenTimeoutCoefficient
The corosync token timeout coefficient in seconds
|
java.lang.String |
uuid
Unique identifier/object reference
Experimental.
|
Constructor and Description |
---|
Record() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
toMap()
Convert a Cluster.Record to a Map
|
java.lang.String |
toString() |
public java.lang.String uuid
public java.util.Set<ClusterHost> clusterHosts
public java.util.Set<java.lang.String> pendingForget
public java.lang.String clusterToken
public java.lang.String clusterStack
public java.util.Set<Types.ClusterOperation> allowedOperations
public java.util.Map<java.lang.String,Types.ClusterOperation> currentOperations
public java.lang.Boolean poolAutoJoin
public java.lang.Double tokenTimeout
public java.lang.Double tokenTimeoutCoefficient
public java.util.Map<java.lang.String,java.lang.String> clusterConfig
public java.util.Map<java.lang.String,java.lang.String> otherConfig
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.Map<java.lang.String,java.lang.Object> toMap()
toMap
in interface Types.Record