|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Node | |
org.activecluster | ActiveCluster API for working with a simple cluster abstraction for building cluster algorithms like buddy systems, voting, master/slave protocols, electing a controller and so forth. |
org.activecluster.election | |
org.activecluster.election.impl | |
org.activecluster.group | Contains Group Organsisation models and policies for arranging Node instances into
groups, such as buddy-groups (failover nodes) or master/slave groups for High Availability (HA) protocols. |
org.activecluster.impl | Default implementation of ActiveCluster using standard JMS API to build the cluster. |
Uses of Node in org.activecluster |
Subinterfaces of Node in org.activecluster | |
interface |
LocalNode
Represents the local (in process) node |
Methods in org.activecluster that return Node | |
Node |
ClusterEvent.getNode()
|
Constructors in org.activecluster with parameters of type Node | |
ClusterEvent(Cluster source,
Node node,
int type)
|
Uses of Node in org.activecluster.election |
Methods in org.activecluster.election that return Node | |
Node |
ElectionStrategy.doElection(Cluster cluster)
Elect a coordinator. |
Uses of Node in org.activecluster.election.impl |
Methods in org.activecluster.election.impl that return Node | |
Node |
BullyElectionStrategy.doElection(Cluster cluster)
Elect a coordinator. |
Uses of Node in org.activecluster.group |
Methods in org.activecluster.group that return Node | |
Node |
NodeMemberships.getNode()
|
Methods in org.activecluster.group with parameters of type Node | |
void |
BuddyGroupModel.addNode(Node node)
|
void |
GroupModel.addNode(Node node)
Adds the new node to this group model; we assume the node has not been added before. |
void |
GroupModel.removeNode(Node node)
Removes the node from the group model |
protected Group |
GroupModel.makeNewGroup(Node node)
Attempt to make a new group with the current node as the master or if the node cannot be a master node |
protected void |
GroupModel.addToUnusedNodes(Node node)
|
protected boolean |
GroupModel.addToExistingGroup(Node node)
Attempts to add the node to an incomplete group, or a not-full group and returns true if its possible - else returns false |
protected boolean |
GroupModel.addToNotFullGroup(Node node)
|
protected boolean |
GroupModel.addToIncompleteGroup(Node node)
|
protected boolean |
GroupModel.addToPendingGroup(LinkedList list,
Node node)
Adds the given node to the first pending group if possible |
protected void |
GroupModel.addNodeToGroup(Group group,
Node node)
|
protected boolean |
GroupModel.removeNodeFromGroup(Group group,
Node node)
|
protected Group |
GroupModel.createGroup(Node node)
|
protected boolean |
GroupModel.canCreateGroup(Node node)
Returns true if we can add a new group to the cluster |
protected boolean |
GroupModel.canBeMaster(Node node)
Returns true if the given node can be a master |
boolean |
NodeFilter.evaluate(Node node)
Returns true if the given node matches the filter |
int |
Group.addMember(Node node)
Adds a node to the given group |
boolean |
Group.removeMember(Node node)
|
boolean |
MasterZoneFilter.evaluate(Node node)
|
Constructors in org.activecluster.group with parameters of type Node | |
NodeMemberships(Node node)
|
Uses of Node in org.activecluster.impl |
Classes in org.activecluster.impl that implement Node | |
class |
NodeImpl
Default implementation of a remote Node |
class |
NonReplicatedLocalNode
Default implementation of a local Node which doesn't have its state replicated |
class |
ReplicatedLocalNode
Default implementation of a local Node which has its state replicated across the cluster |
Fields in org.activecluster.impl declared as Node | |
Node |
StateServiceImpl.NodeEntry.node
|
Methods in org.activecluster.impl with parameters of type Node | |
void |
StateServiceImpl.keepAlive(Node node)
|
void |
StateServiceImpl.shutdown(Node node)
|
protected void |
StateServiceImpl.nodeAdded(Node node)
|
protected void |
StateServiceImpl.nodeUpdated(Node node)
|
protected void |
StateServiceImpl.nodeFailed(Node node)
|
protected void |
StateServiceImpl.coordinatorChanged(Node node)
|
protected boolean |
StateServiceImpl.stateHasChanged(Node oldNode,
Node newNode)
|
void |
StateService.keepAlive(Node node)
Sends a keep alive to the cluster |
void |
StateService.shutdown(Node node)
Sends a shutdown message to the cluster |
void |
StateServiceStub.keepAlive(Node node)
|
void |
StateServiceStub.shutdown(Node node)
|
Constructors in org.activecluster.impl with parameters of type Node | |
NodeImpl(Node node)
Allow a node to be copied for sending it as a message |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |