org.codehaus.activecluster.impl
Class ReplicatedLocalNode
java.lang.Object
org.codehaus.activecluster.impl.NodeImpl
org.codehaus.activecluster.impl.ReplicatedLocalNode
- All Implemented Interfaces:
- LocalNode, Node, Serializable, Service
- public class ReplicatedLocalNode
- extends NodeImpl
- implements LocalNode, Service
Default implementation of a local Node which has its
state replicated across the cluster
- Version:
- $Revision: 1.4 $
- See Also:
- Serialized Form
Method Summary |
void |
pingRemoteNodes()
|
void |
setState(Map state)
Allows the local state to be modified, which will
be replicated asynchronously around the cluster |
void |
start()
Called to start the service |
void |
stop()
Called to shutdown the service |
ReplicatedLocalNode
public ReplicatedLocalNode(Destination destination,
StateService serviceStub)
setState
public void setState(Map state)
- Description copied from interface:
LocalNode
- Allows the local state to be modified, which will
be replicated asynchronously around the cluster
- Specified by:
setState
in interface LocalNode
- Overrides:
setState
in class NodeImpl
pingRemoteNodes
public void pingRemoteNodes()
start
public void start()
throws JMSException
- Description copied from interface:
Service
- Called to start the service
- Specified by:
start
in interface Service
- Throws:
JMSException
stop
public void stop()
throws JMSException
- Description copied from interface:
Service
- Called to shutdown the service
- Specified by:
stop
in interface Service
- Throws:
JMSException
Copyright © 2004-2005 Protique, Ltd.. All Rights Reserved.