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.3 $

Method Summary
 Destination getDestination()
          Access to the queue to send messages direct to this node.
 String getName()
           
 Map getState()
           
 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


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