Package org.teiid.jboss
Class NodeTracker
- java.lang.Object
-
- org.jgroups.ReceiverAdapter
-
- org.teiid.jboss.NodeTracker
-
- All Implemented Interfaces:
org.jgroups.MembershipListener
,org.jgroups.MessageListener
,org.jgroups.Receiver
,org.jgroups.StateListener
public abstract class NodeTracker extends org.jgroups.ReceiverAdapter
-
-
Constructor Summary
Constructors Constructor Description NodeTracker(org.jgroups.JChannel channel, String nodeName)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
addNodeListener(NodeListener nodeListener)
abstract ScheduledExecutorService
getScheduledExecutorService()
boolean
isNodeAlive(String nodeName)
void
receive(org.jgroups.Message msg)
void
removeNodeListener(NodeListener nodeListener)
void
viewAccepted(org.jgroups.View view)
-
-
-
Method Detail
-
getScheduledExecutorService
public abstract ScheduledExecutorService getScheduledExecutorService()
-
addNodeListener
public void addNodeListener(NodeListener nodeListener)
-
removeNodeListener
public void removeNodeListener(NodeListener nodeListener)
-
isNodeAlive
public boolean isNodeAlive(String nodeName)
-
viewAccepted
public void viewAccepted(org.jgroups.View view)
- Specified by:
viewAccepted
in interfaceorg.jgroups.MembershipListener
- Overrides:
viewAccepted
in classorg.jgroups.ReceiverAdapter
-
receive
public void receive(org.jgroups.Message msg)
- Specified by:
receive
in interfaceorg.jgroups.MessageListener
- Overrides:
receive
in classorg.jgroups.ReceiverAdapter
-
-