Package org.jgroups.protocols.tom
Class DeliveryThread
- java.lang.Object
-
- java.lang.Thread
-
- org.jgroups.protocols.tom.DeliveryThread
-
- All Implemented Interfaces:
java.lang.Runnable
public class DeliveryThread extends java.lang.Thread
The delivery thread. Is the only thread that delivers the Total Order Anycast message in order- Since:
- 3.1
- Author:
- Pedro Ruivo
-
-
Constructor Summary
Constructors Constructor Description DeliveryThread(DeliveryProtocol protocol)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
interrupt()
void
run()
void
setLocalAddress(java.lang.String localAddress)
void
start()
void
start(DeliveryManager deliveryManager)
-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, stop, suspend, toString, yield
-
-
-
-
Constructor Detail
-
DeliveryThread
public DeliveryThread(DeliveryProtocol protocol)
-
-
Method Detail
-
start
public void start(DeliveryManager deliveryManager)
-
setLocalAddress
public void setLocalAddress(java.lang.String localAddress)
-
start
public void start()
- Overrides:
start
in classjava.lang.Thread
-
run
public void run()
- Specified by:
run
in interfacejava.lang.Runnable
- Overrides:
run
in classjava.lang.Thread
-
interrupt
public void interrupt()
- Overrides:
interrupt
in classjava.lang.Thread
-
-