org.codehaus.activecluster
Interface Node

All Superinterfaces:
Serializable
All Known Subinterfaces:
LocalNode
All Known Implementing Classes:
NodeImpl, NonReplicatedLocalNode, ReplicatedLocalNode

public interface Node
extends Serializable

Represents a node member in a cluster

Version:
$Revision: 1.4 $

Method Summary
 Destination getDestination()
          Access to the queue to send messages direct to this node.
 String getName()
           
 Map getState()
           
 Object getZone()
          Returns the Zone of this node - typically the DMZ zone or the subnet on which the node is on
 boolean isCoordinator()
           
 

Method Detail

getDestination

public Destination getDestination()
Access to the queue to send messages direct to this node.

Returns:
the destination to send messages to this node while its available

getState

public Map getState()
Returns:
an immutable map of the nodes state

getName

public String getName()
Returns:
the name of the node

isCoordinator

public boolean isCoordinator()
Returns:
true if this node has been elected as coordinator

getZone

public Object getZone()
Returns the Zone of this node - typically the DMZ zone or the subnet on which the node is on



Copyright © 2004-2005 Protique, Ltd.. All Rights Reserved.