A C D E G H I K L M O P R S T U V

A

add(String, Serializable) - Method in interface org.jboss.ha.framework.interfaces.DistributedReplicantManager
Add a replicant, which will be associated with this cluster node in the registry.
allowInvocationsStatus - Variable in class org.jboss.ha.framework.server.HATarget
 

C

callAsynchMethodOnCluster(String, String, Object[], Class[], boolean) - Method in interface org.jboss.ha.framework.interfaces.HAPartition
Invoke a asynchronous RPC call on all nodes of the partition/cluster.
callAsyncMethodOnNode(String, String, Object[], Class[], long, ClusterNode) - Method in interface org.jboss.ha.framework.interfaces.HAPartition
Calls method on target node only.
callMethodOnCluster(String, String, Object[], Class[], boolean) - Method in interface org.jboss.ha.framework.interfaces.HAPartition
Invoke a synchronous RPC call on all nodes of the partition/cluster
callMethodOnCoordinatorNode(String, String, Object[], Class[], boolean) - Method in interface org.jboss.ha.framework.interfaces.HAPartition
Calls method on Cluster coordinator node only.
callMethodOnNode(String, String, Object[], Class[], long, ClusterNode) - Method in interface org.jboss.ha.framework.interfaces.HAPartition
Calls method synchronously on target node only.
cleanExistenceInCurrentHAPartition() - Method in class org.jboss.ha.framework.server.HATarget
Unregister's with the partition's DistributedReplicantManager.
ClusterNode - Interface in org.jboss.ha.framework.interfaces
Abstract identifier for a member of an @{link HAPartition}.
clusterViewId - Variable in class org.jboss.ha.framework.server.HATarget
 

D

destroy() - Method in class org.jboss.ha.framework.server.HATarget
Removes the local node from the distributed registry of nodes providing the service and causes HATarget.invocationsAllowed() to return false.
disable() - Method in class org.jboss.ha.framework.server.HATarget
Removes the local node from the distributed registry of nodes providing the service.
DISABLE_INVOCATIONS - Static variable in class org.jboss.ha.framework.server.HATarget
Argument to HATarget.setInvocationsAuthorization(int) that indicates HATarget.invocationsAllowed() should return false.
DistributedReplicantManager - Interface in org.jboss.ha.framework.interfaces
DistributedReplicantManager is a service on top of HAPartition that provides a cluster-wide distributed state which is node-specific.
DistributedReplicantManager.ReplicantListener - Interface in org.jboss.ha.framework.interfaces
When a particular key in the DistributedReplicantManager table gets modified, all listeners will be notified of replicant changes for that key.
DistributedState - Interface in org.jboss.ha.framework.interfaces
DistributedState is a service on top of HAPartition that provides a cluster-wide distributed state.
DistributedState.DSListener - Interface in org.jboss.ha.framework.interfaces
Deprecated. use the DSListenerEx instead
DistributedState.DSListenerEx - Interface in org.jboss.ha.framework.interfaces
A generalization of the DSListener that supports the Serializable key type.

E

ENABLE_INVOCATIONS - Static variable in class org.jboss.ha.framework.server.HATarget
Argument to HATarget.setInvocationsAuthorization(int) that indicates HATarget.invocationsAllowed() should return true.

G

get(String, Serializable) - Method in interface org.jboss.ha.framework.interfaces.DistributedState
Read in a value associated to a key in the given category.
getAllCategories() - Method in interface org.jboss.ha.framework.interfaces.DistributedState
Return a list of all categories.
getAllKeys(String) - Method in interface org.jboss.ha.framework.interfaces.DistributedState
Return a list of all keys in a category.
getAllowSynchronousMembershipNotifications() - Method in interface org.jboss.ha.framework.interfaces.HAPartition
Returns whether this partition will synchronously notify any HAMembershipListeners of membership changes using the calling thread from the underlying ClusterPartition.
getAllServices() - Method in interface org.jboss.ha.framework.interfaces.DistributedReplicantManager
Return a list of all services that have at least one replicant.
getAllValues(String) - Method in interface org.jboss.ha.framework.interfaces.DistributedState
Return a list of all values in a category.
getAssociatedPartition() - Method in class org.jboss.ha.framework.server.HATarget
 
getClusterNode() - Method in interface org.jboss.ha.framework.interfaces.HAPartition
Return member node for the current cluster node.
getClusterNodes() - Method in interface org.jboss.ha.framework.interfaces.HAPartition
Return the member nodes that built the current view i.e., the current partition.
getCurrentState() - Method in interface org.jboss.ha.framework.interfaces.HAPartition.HAPartitionStateTransfer
Called when a new node needs to be initialized.
getCurrentView() - Method in interface org.jboss.ha.framework.interfaces.HAPartition
Return the list of member nodes that built the current view i.e., the current partition.
getCurrentViewId() - Method in interface org.jboss.ha.framework.interfaces.HAPartition
Each time the partition topology changes, a new view is computed.
getCurrentViewId() - Method in class org.jboss.ha.framework.server.HATarget
Gets the current view id for the clustered service.
getDistributedReplicantManager() - Method in interface org.jboss.ha.framework.interfaces.HAPartition
Accessor to the DistributedReplicantManager (DRM) that is linked to this partition.
getDistributedStateService() - Method in interface org.jboss.ha.framework.interfaces.HAPartition
Accessor to the DistributedState (DS) that is linked to this partition.
getIpAddress() - Method in interface org.jboss.ha.framework.interfaces.ClusterNode
Gets the InetAddress at which the node is receiving intra-cluster communications.
getName() - Method in interface org.jboss.ha.framework.interfaces.ClusterNode
Gets a String identifier for this node.
getNodeName() - Method in interface org.jboss.ha.framework.interfaces.HAPartition
Return the name of this node in the current partition.
getPartitionName() - Method in interface org.jboss.ha.framework.interfaces.HAPartition
The name of the partition.
getPort() - Method in interface org.jboss.ha.framework.interfaces.ClusterNode
Gets the port at which the node is receiving intra-cluster communications.
getReplicants() - Method in class org.jboss.ha.framework.server.HATarget
Gets the replicants for the clustered service.
getReplicantsViewId(String) - Method in interface org.jboss.ha.framework.interfaces.DistributedReplicantManager
Returns an id corresponding to the current view of this set of replicants.

H

HAPartition - Interface in org.jboss.ha.framework.interfaces
HAPartition is an abstraction of the communication framework, providing access to clustered services such as Distributed State, Distributed Replicant Manager and RPC.
HAPartition.AsynchHAMembershipExtendedListener - Interface in org.jboss.ha.framework.interfaces
A tagging interface for HAMembershipExtendedListener callbacks that will be performed in a thread separate from the JG protocol handler thread.
HAPartition.AsynchHAMembershipListener - Interface in org.jboss.ha.framework.interfaces
A tagging interface for HAMembershipListener callbacks that will be performed in a thread separate from the JG protocol handler thread.
HAPartition.HAMembershipExtendedListener - Interface in org.jboss.ha.framework.interfaces
Extends HAMembershipListener to receive notification when a network-partition merge occurs.
HAPartition.HAMembershipListener - Interface in org.jboss.ha.framework.interfaces
When a new node joins the cluster or an existing node leaves the cluster (or simply dies), membership events are raised.
HAPartition.HAPartitionStateTransfer - Interface in org.jboss.ha.framework.interfaces
State management is highly important for clustered services.
HATarget - Class in org.jboss.ha.framework.server
Control point representing a clustered service.
HATarget(HAPartition, String, Serializable, int) - Constructor for class org.jboss.ha.framework.server.HATarget
Creates a new HATarget.

I

init() - Method in class org.jboss.ha.framework.server.HATarget
Deprecated. this will be removed in the next major release
invocationsAllowed() - Method in class org.jboss.ha.framework.server.HATarget
Returns whether invocations on the target service are currently allowed on this node.
isMasterReplica(String) - Method in interface org.jboss.ha.framework.interfaces.DistributedReplicantManager
Indicates if the current node is the master replica for this given key; i.e.

K

keyHasBeenRemoved(String, String, Serializable, boolean) - Method in interface org.jboss.ha.framework.interfaces.DistributedState.DSListener
Deprecated. Called whenever a key has been removed from a category the called object had subscribed in.
keyHasBeenRemoved(String, Serializable, Serializable, boolean) - Method in interface org.jboss.ha.framework.interfaces.DistributedState.DSListenerEx
Called whenever a key has been removed from a category the called object had subscribed in.

L

latch - Variable in class org.jboss.ha.framework.server.HATarget
 
log - Variable in class org.jboss.ha.framework.server.HATarget
 
lookupLocalReplicant(String) - Method in interface org.jboss.ha.framework.interfaces.DistributedReplicantManager
Lookup the replicant associated with this cluster node and the given key
lookupReplicants(String) - Method in interface org.jboss.ha.framework.interfaces.DistributedReplicantManager
Return a list of all replicants for the given key.
lookupReplicantsNodeNames(String) - Method in interface org.jboss.ha.framework.interfaces.DistributedReplicantManager
Deprecated. Replaced by DistributedReplicantManager.lookupReplicantsNodes(String) that returns a List of ClusterNode. Call getName() on List entries to get same behavior.
lookupReplicantsNodes(String) - Method in interface org.jboss.ha.framework.interfaces.DistributedReplicantManager
Return a list of the ClusterNode objects for all nodes that have registered a replicant for the given key.

M

MAKE_INVOCATIONS_WAIT - Static variable in class org.jboss.ha.framework.server.HATarget
Argument to HATarget.setInvocationsAuthorization(int) that indicates calls to HATarget.invocationsAllowed() should block until a different value is passed to HATarget.setInvocationsAuthorization(int).
membershipChanged(Vector, Vector, Vector) - Method in interface org.jboss.ha.framework.interfaces.HAPartition.HAMembershipListener
Called when a new partition topology occurs.
membershipChangedDuringMerge(Vector, Vector, Vector, Vector) - Method in interface org.jboss.ha.framework.interfaces.HAPartition.HAMembershipExtendedListener
Extends HAMembershipListener to receive a specific callback when a network-partition merge occurs.

O

org.jboss.ha.framework.interfaces - package org.jboss.ha.framework.interfaces
 
org.jboss.ha.framework.server - package org.jboss.ha.framework.server
 

P

partition - Variable in class org.jboss.ha.framework.server.HATarget
 

R

registerDSListener(String, DistributedState.DSListener) - Method in interface org.jboss.ha.framework.interfaces.DistributedState
Subscribes to receive DistributedState.DSListener events
registerDSListenerEx(String, DistributedState.DSListenerEx) - Method in interface org.jboss.ha.framework.interfaces.DistributedState
Subscribes to receive DistributedState.DSListenerEx events
registerListener(String, DistributedReplicantManager.ReplicantListener) - Method in interface org.jboss.ha.framework.interfaces.DistributedReplicantManager
Subscribe a new listener for replicant changes
registerMembershipListener(HAPartition.HAMembershipListener) - Method in interface org.jboss.ha.framework.interfaces.HAPartition
Subscribes to receive HAPartition.HAMembershipListener events.
registerRPCHandler(String, Object) - Method in interface org.jboss.ha.framework.interfaces.HAPartition
The partition receives RPC calls from other nodes in the cluster and demultiplexes them, according to a service name, to a particular service.
registerRPCHandler(String, Object, ClassLoader) - Method in interface org.jboss.ha.framework.interfaces.HAPartition
The partition receives RPC calls from other nodes in the cluster and demultiplexes them, according to a service name, to a particular service.
releaseCurrentLatch() - Method in class org.jboss.ha.framework.server.HATarget
Releases any latch blocking threads in HATarget.invocationsAllowed().
remove(String) - Method in interface org.jboss.ha.framework.interfaces.DistributedReplicantManager
Remove this cluster node's replicant for the given key from the registry
remove(String, Serializable) - Method in interface org.jboss.ha.framework.interfaces.DistributedState
Remove the key from the ReplicationService in the given category
remove(String, Serializable, boolean) - Method in interface org.jboss.ha.framework.interfaces.DistributedState
Same as remove(String, String) but caller can choose if the call is made synchronously or asynchronously.
replicantName - Variable in class org.jboss.ha.framework.server.HATarget
 
replicants - Variable in class org.jboss.ha.framework.server.HATarget
 
replicantsChanged(String, List, int, boolean) - Method in interface org.jboss.ha.framework.interfaces.DistributedReplicantManager.ReplicantListener
Callback called when the content/list of replicant for a given replicant key has changed
replicantsChanged(String, List, int, boolean) - Method in class org.jboss.ha.framework.server.HATarget
 

S

set(String, Serializable, Serializable) - Method in interface org.jboss.ha.framework.interfaces.DistributedState
Associates a value to a key in a specific category
set(String, Serializable, Serializable, boolean) - Method in interface org.jboss.ha.framework.interfaces.DistributedState
Same as set(String, String) but caller can choose if the call is made synchronously or asynchronously.
setAllowSynchronousMembershipNotifications(boolean) - Method in interface org.jboss.ha.framework.interfaces.HAPartition
Sets whether this partition will synchronously notify any HAMembershipListeners of membership changes using the calling thread from the underlying ClusterPartition.
setCurrentState(Serializable) - Method in interface org.jboss.ha.framework.interfaces.HAPartition.HAPartitionStateTransfer
This callback method is called when a new service starts on a new node; the state that it should hold is transfered to it through this callback.
setInvocationsAuthorization(int) - Method in class org.jboss.ha.framework.server.HATarget
Sets the behavior expected from HATarget.invocationsAllowed().
subscribeToStateTransferEvents(String, HAPartition.HAPartitionStateTransfer) - Method in interface org.jboss.ha.framework.interfaces.HAPartition
Register a service that will participate in state transfer protocol and receive callbacks

T

target - Variable in class org.jboss.ha.framework.server.HATarget
 
toString() - Method in class org.jboss.ha.framework.server.HATarget
 

U

unregisterDSListener(String, DistributedState.DSListener) - Method in interface org.jboss.ha.framework.interfaces.DistributedState
Unsubscribes from DistributedState.DSListener events
unregisterDSListenerEx(String, DistributedState.DSListenerEx) - Method in interface org.jboss.ha.framework.interfaces.DistributedState
Unsubscribes from DistributedState.DSListenerEx events
unregisterListener(String, DistributedReplicantManager.ReplicantListener) - Method in interface org.jboss.ha.framework.interfaces.DistributedReplicantManager
Unsubscribe a listener that had subscribed for replicant changes
unregisterMembershipListener(HAPartition.HAMembershipListener) - Method in interface org.jboss.ha.framework.interfaces.HAPartition
Unsubscribes from receiving HAPartition.HAMembershipListener events.
unregisterRPCHandler(String, Object) - Method in interface org.jboss.ha.framework.interfaces.HAPartition
Unregister the service from the partition
unsubscribeFromStateTransferEvents(String, HAPartition.HAPartitionStateTransfer) - Method in interface org.jboss.ha.framework.interfaces.HAPartition
Unregister a service from state transfer callbacks.
updateHAPartition(HAPartition) - Method in class org.jboss.ha.framework.server.HATarget
Associates this target with the given partition, registering with the partition's DistributedReplicantManager.

V

valueHasChanged(String, String, Serializable, boolean) - Method in interface org.jboss.ha.framework.interfaces.DistributedState.DSListener
Deprecated. Called whenever a key has been added or modified in the category the called object has subscribed in.
valueHasChanged(String, Serializable, Serializable, boolean) - Method in interface org.jboss.ha.framework.interfaces.DistributedState.DSListenerEx
Called whenever a key has been added or modified in the category the called object has subscribed in.

A C D E G H I K L M O P R S T U V

Copyright © 2008 JBoss, a division of Red Hat, Inc.. All Rights Reserved.