OSMQ
v2.0.1

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.


Field Summary
static int HIGH_PRIORITY
           
static int INCREASED_PRIORITY
           
static int VERY_HIGH_PRIORITY
           
 
Method Summary
 int getPriority()
           
 boolean repeatableProcess()
           
 
Methods inherited from interface osmq.util.ExceptionListener
onException
 

Field Detail

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
Method Detail

repeatableProcess

public boolean repeatableProcess()
                          throws java.lang.Exception
Throws:
java.lang.Exception

getPriority

public int getPriority()

(c) 2000 - 2003 MQue Systems
All Rights Reserved