getPartitionName() Name of the underlying partition that determine the cluster to use.
public void
sendNotification(Notification notification) Broadcast the notification to the remote listener nodes (if any) and then
invoke super.sendNotification() to notify local listeners.
Parameters: notification - sent out to local listeners and other nodes.
Convenience method for sharing state across a cluster partition.
Delegates to the DistributedStateService
Parameters: key - key for the distributed object Serializable the distributed object
Broadcast the notification to the remote listener nodes (if any) and then
invoke super.sendNotification() to notify local listeners.
Parameters: notification - sent out to local listeners and other nodes. It should be serializable.It is recommended that the source of the notification is an ObjectName of an MBean that is is available on all nodes where the broadcaster MBean is registered. See Also:javax.management.NotificationBroadcasterSupport.sendNotification(Notification)
Sets the underlying partition used by this service.
Can be set only when the MBean is not in a STARTED or STARTING state.
Parameters: clusterPartition - the partition
Convenience method for sharing state across a cluster partition.
Delegates to the DistributedStateService
Parameters: key - key for the distributed object Parameters: value - the distributed object
setPartitionName
public void setPartitionName(String partitionName)(Code)
Set the name of the underlying partition that determine the cluster to use.
Can be set only when the MBean is not in a STARTED or STARTING state.
HAServiceMBean.setClusterPartition()