|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
org.apache.sandesha2.workers.SandeshaThread
org.apache.sandesha2.workers.Invoker
This is used when InOrder invocation is required. This is a seperated Thread that keep running all the time. At each iteration it checks the InvokerTable to find weather there are any messages to me invoked.
Field Summary |
Fields inherited from class org.apache.sandesha2.workers.SandeshaThread |
context, storageManager, threadPool |
Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
Invoker()
|
Method Summary | |
void |
forceInvokeOfAllMessagesCurrentlyOnSequence(org.apache.axis2.context.ConfigurationContext ctx,
java.lang.String sequenceID,
boolean allowLaterDeliveryOfMissingMessages)
Forces dispatch of queued messages to the application. |
protected boolean |
internalRun()
The main work loop, to be implemented by any child class. |
Methods inherited from class org.apache.sandesha2.workers.SandeshaThread |
blockForPause, doPauseIfNeeded, finishPause, getSequences, getWorkerLock, hasStoppedRunning, isThreadStarted, run, runMainLoop, runThreadForSequence, setRanMainLoop, stopRunning, stopThreadForSequence, wakeThread |
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Invoker()
Method Detail |
public void forceInvokeOfAllMessagesCurrentlyOnSequence(org.apache.axis2.context.ConfigurationContext ctx, java.lang.String sequenceID, boolean allowLaterDeliveryOfMissingMessages) throws SandeshaException
ctx
- sequenceID
- allowLaterDeliveryOfMissingMessages
- if true, messages skipped over during this
action will be invoked if they arrive on the system at a later time.
Otherwise messages skipped over will be ignored
SandeshaException
protected boolean internalRun()
SandeshaThread
internalRun
in class SandeshaThread
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |