Attribute Summary | |
java.lang.String | clusterName The name of this cluster. |
java.lang.Boolean | preferLocal Enable or disable Node scoped routing optimization. |
java.lang.String | wlcID The currently registered workload controller (WLC) id for this cluster. |
java.lang.String | state The current state of the cluster. |
Operation Summary | |
com.ibm.websphere.management.wlm.ClusterMemberData[] | getClusterMembers() Retrieve the array of members contained by the cluster. |
com.ibm.websphere.management.wlm.ClusterMemberData | getClusterMember( Retrieve the cluster member data for the specified member. |
com.ibm.websphere.management.wlm.ClusterWeightTableEntry[] | getWeightTable() Retrieve the current in memory weight table. |
com.ibm.websphere.management.wlm.ClusterWeightTableEntry | getWeightTableEntry( Retrieve the in memory weight table entry for the specified cluster member. |
| setWeightTable( Replace the weight table in memory with the one provided. |
| setWeightTableEntry( Replace the weight table entry in memory with the one provided. |
java.lang.Long | register( Register as the workload controller for this cluster. |
com.ibm.websphere.management.wlm.ClusterData | refresh() Refresh cluster and member information. |
| start() Start the cluster of servers. |
| stop() Stop the cluster of servers. |
| stopImmediate() Stop the cluster of servers. |
| rippleStart() Stop and re-start the servers in the cluster. |
Notification Summary | |
Cluster Weight Table Change Notify listeners that the Cluster weight table was changed. | |
Cluster Weight Table Entry Change Notify listeners that a Cluster weight table entry was changed. | |
websphere.cluster.starting This cluster is being started. | |
websphere.cluster.partial.start All members of the cluster have been requested to start, but all servers are not yet running. | |
websphere.cluster.running All members in the cluster are now running. | |
websphere.cluster.stopping This cluster is being stopped. | |
websphere.cluster.partial.stop All servers in this cluster have been requested to stop. | |
websphere.cluster.stopped All servers in the cluster are now stopped. |
Attribute Detail |
public java.lang.String clusterName
public java.lang.Boolean preferLocal
public java.lang.String wlcID
public java.lang.String state
Operation Detail |
public com.ibm.websphere.management.wlm.ClusterMemberData[] getClusterMembers()
public com.ibm.websphere.management.wlm.ClusterMemberData getClusterMember(java.lang.String memberName,
java.lang.String nodeName
)
memberName
-
Cluster member name.nodeName
-
The name of the node where the cluster member is configured.
public com.ibm.websphere.management.wlm.ClusterWeightTableEntry[] getWeightTable()
public com.ibm.websphere.management.wlm.ClusterWeightTableEntry getWeightTableEntry(java.lang.String memberName,
java.lang.String nodeName
)
memberName
-
Cluster member name.nodeName
-
The name of the node where the cluster member is configured.
public setWeightTable(java.lang.Long key,
com.ibm.websphere.management.wlm.ClusterWeightTableEntry[] weightTable
)
key
-
The key obtained from the register() method.weightTable
-
Desired weight table for this cluster.
public setWeightTableEntry(java.lang.Long key,
com.ibm.websphere.management.wlm.ClusterWeightTableEntry weightTableEntry
)
key
-
The key obtained from the register() method.weightTableEntry
-
Desired weight table entry for particular member of the cluster.
public java.lang.Long register(java.lang.String wlcName
)
wlcName
-
The Workload Controller ID or name.
public com.ibm.websphere.management.wlm.ClusterData refresh()
public start()
public stop()
public stopImmediate()
public rippleStart()
Notification Detail |