|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecteneter.messaging.threading.dispatching.SyncDispatching
public class SyncDispatching
Invokes one by one from the queue.
Constructor Summary | |
---|---|
SyncDispatching()
Constructs dispatching where each getDispatcher() will return new instance of the dispatcher. |
|
SyncDispatching(boolean isDispatcherShared)
Constructs the dispatcher provider. |
Method Summary | |
---|---|
IThreadDispatcher |
getDispatcher()
Returns dispatcher that queues callback methods and processes them one by one. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SyncDispatching()
public SyncDispatching(boolean isDispatcherShared)
isDispatcherShared
- true - getDispatcher() will return always the same instance of the dispatcher. It means all dispatchers returned from
getDispatcher() will sync incoming methods using the same queue. Method Detail |
---|
public IThreadDispatcher getDispatcher()
getDispatcher
in interface IThreadDispatcherProvider
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |