Method Summary |
|
public void | _receiveRemoteNotification(Notification notification) Invoked by remote broadcasters. |
protected void | callAsyncMethodOnPartition(String methodName, Object[] args, Class[] types) |
public void | callMethodOnPartition(String methodName, Object[] args) |
public void | callMethodOnPartition(String methodName, Object[] args, Class[] types) |
protected HAPartition | findHAPartitionWithName(String name) |
public ClusterPartitionMBean | getClusterPartition() |
public Serializable | getDistributedState(String key) Convenience method for sharing state across a cluster partition. |
public HAPartition | getPartition() |
public String | getPartitionName() |
public boolean | getSendLocalLifecycleNotifications() Gets whether JMX Notifications should be sent to local (same JVM) listeners
if the notification is for an attribute change to attribute "State". |
public boolean | getSendRemoteLifecycleNotifications() Gets whether JMX Notifications should be sent to remote listeners
if the notification is for an attribute change to attribute "State". |
public String | getServiceHAName() Override this method only if you need to provide a custom partition wide unique service name. |
protected boolean | isDRMMasterReplica() |
public void | partitionTopologyChanged(List newReplicants, int newReplicantsViewId) |
protected void | registerDRMListener() |
protected void | registerRPCHandler() |
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. |
protected void | sendNotificationRemote(Notification notification) |
protected void | sendNotificationToLocalListeners(Notification notification) |
public void | setClusterPartition(ClusterPartitionMBean clusterPartition) |
public void | setDistributedState(String key, Serializable value) Convenience method for sharing state across a cluster partition. |
public void | setPartitionName(String newPartitionName) |
public void | setSendLocalLifecycleNotifications(boolean sendLocalLifecycleNotifications) Sets whether JMX Notifications should be sent to local (same JVM) listeners
if the notification is for an attribute change to attribute "State". |
public void | setSendRemoteLifecycleNotifications(boolean sendRemoteLifecycleNotifications) Sets whether JMX Notifications should be sent to remote listeners
if the notification is for an attribute change to attribute "State". |
protected void | setupPartition() |
protected void | startService()
Implementors of this method should not
code the singleton logic here. |
protected void | stopService() |
protected void | unregisterDRMListener() |
protected void | unregisterRPCHandler() |