-
- All Known Implementing Classes:
AbortableHolder
public interface AbortableClasses whose instances can be aborted, stopped and started (from other threads) implement this interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidabort()Cause any other implementing threads to terminate fairly quickly, signalling abnormal termination to its instigator, if necessary.voidstart()Cause any other stopped threads to start.voidstop()Cause any other implementing threads to stop temporarily.
-
-
-
Method Detail
-
abort
void abort() throws java.lang.ExceptionCause any other implementing threads to terminate fairly quickly, signalling abnormal termination to its instigator, if necessary.Implementations of this method must be thread-safe.
- Throws:
java.lang.Exception
-
stop
void stop() throws java.lang.Exception
Cause any other implementing threads to stop temporarily.Implementations of this method must be thread-safe.
- Throws:
java.lang.Exception
-
start
void start() throws java.lang.ExceptionCause any other stopped threads to start.Implementations of this method must be thread-safe.
- Throws:
java.lang.Exception
-
-