osmq.util
Interface Threadable
- All Superinterfaces:
- ExceptionListener
- All Known Implementing Classes:
- AbstractThreadable, MessageSortingThread
- public interface Threadable
- extends ExceptionListener
Base class for objects that need a seperate thread to iteratively perform a task.
Handles properly destroying the object when the thread terminates.
INCREASED_PRIORITY
public static final int INCREASED_PRIORITY
- See Also:
- Constant Field Values
HIGH_PRIORITY
public static final int HIGH_PRIORITY
- See Also:
- Constant Field Values
VERY_HIGH_PRIORITY
public static final int VERY_HIGH_PRIORITY
- See Also:
- Constant Field Values
repeatableProcess
public boolean repeatableProcess()
throws java.lang.Exception
- Throws:
java.lang.Exception
getPriority
public int getPriority()