Package com.j_spaces.core.fifo
Class DefaultFifoBackgroundDispatcher
java.lang.Object
com.j_spaces.core.fifo.FifoBackgroundDispatcher
com.j_spaces.core.fifo.DefaultFifoBackgroundDispatcher
position fifo requests for notify and non-notify templates background search and consume
- Since:
- 7.1
- Version:
- 1.0
- Author:
- Yechiel Fefer
-
Field Summary
FieldsFields inherited from class com.j_spaces.core.fifo.FifoBackgroundDispatcher
_logger, _nonNotifyFifoThreads, _notifyFifoThreads -
Constructor Summary
ConstructorsConstructorDescriptionDefaultFifoBackgroundDispatcher(int numNotifyFifoThreads, int numNonNotifyFifoThreads, CacheManager cacheManager, SpaceEngine engine) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidprotected FifoWorkerThreadcreateFifoWorkerThread(int num, boolean isNotify, CacheManager cacheManager, SpaceEngine engine) voidvoidMethods inherited from class com.j_spaces.core.fifo.FifoBackgroundDispatcher
activateRequest, close, getNumNonNotifyFifoThreads, getNumNotifyFifoThreads, positionAndActivateRequest, positionRequest
-
Field Details
-
NON_FIFO_EVENTS_MAX_WAIT_TIME
public static final long NON_FIFO_EVENTS_MAX_WAIT_TIME- See Also:
-
-
Constructor Details
-
DefaultFifoBackgroundDispatcher
public DefaultFifoBackgroundDispatcher(int numNotifyFifoThreads, int numNonNotifyFifoThreads, CacheManager cacheManager, SpaceEngine engine)
-
-
Method Details
-
createFifoWorkerThread
protected FifoWorkerThread createFifoWorkerThread(int num, boolean isNotify, CacheManager cacheManager, SpaceEngine engine) - Specified by:
createFifoWorkerThreadin classFifoBackgroundDispatcher
-
positionRequest
- Specified by:
positionRequestin classFifoBackgroundDispatcher
-
activateRequest
- Specified by:
activateRequestin classFifoBackgroundDispatcher
-
positionAndActivateRequest
- Specified by:
positionAndActivateRequestin classFifoBackgroundDispatcher
-
cancelRequest
- Specified by:
cancelRequestin classFifoBackgroundDispatcher
-