- java.lang.Object
-
- com.rabbitmq.jms.util.AbortableHolder
-
-
Constructor Summary
Constructors Constructor Description AbortableHolder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidabort()Cause any other implementing threads to terminate fairly quickly, signalling abnormal termination to its instigator, if necessary.voidadd(Abortable a)voidremove(Abortable a)voidstart()Cause any other stopped threads to start.voidstop()Cause any other implementing threads to stop temporarily.
-
-
-
Method Detail
-
add
public void add(Abortable a)
- Parameters:
a- - abortable to hold
-
remove
public void remove(Abortable a)
- Parameters:
a- - abortable to remove (once) if held
-
abort
public void abort() throws java.lang.ExceptionDescription copied from interface:AbortableCause any other implementing threads to terminate fairly quickly, signalling abnormal termination to its instigator, if necessary.Implementations of this method must be thread-safe.
-
start
public void start() throws java.lang.ExceptionDescription copied from interface:AbortableCause any other stopped threads to start.Implementations of this method must be thread-safe.
-
-