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.ThreadThe 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 voidinterrupt()voidrun()voidsetLocalAddress(java.lang.String localAddress)voidstart()voidstart(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:
startin classjava.lang.Thread
-
run
public void run()
- Specified by:
runin interfacejava.lang.Runnable- Overrides:
runin classjava.lang.Thread
-
interrupt
public void interrupt()
- Overrides:
interruptin classjava.lang.Thread
-
-