Class ScheduledThreadPoolAsyncHandlerProvider
java.lang.Object
com.gigaspaces.internal.utils.concurrent.AbstractAsyncHandlerProvider
com.gigaspaces.internal.utils.concurrent.ScheduledThreadPoolAsyncHandlerProvider
- All Implemented Interfaces:
IAsyncHandlerProvider
Scheduled thread pool based implementation for
IAsyncHandlerProvider- Since:
- 8.0.5
- Author:
- eitany
-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractAsyncHandlerProvider
AbstractAsyncHandlerProvider.ClosedProviderAsyncHandlerNested classes/interfaces inherited from interface IAsyncHandlerProvider
IAsyncHandlerProvider.CycleResult -
Field Summary
Fields inherited from class AbstractAsyncHandlerProvider
_stateLock -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidonClose()startImpl(AsyncCallable callable, long idleDelayMilis, String name, boolean waitIdleDelayBeforeStart) startMayBlockImpl(AsyncCallable callable, long idleDelayMilis, String name, boolean waitIdleDelayBeforeStart) Methods inherited from class AbstractAsyncHandlerProvider
addStateListener, close, isClosed, removeStateListener, start, startMayBlock
-
Constructor Details
-
ScheduledThreadPoolAsyncHandlerProvider
-
-
Method Details
-
startImpl
public IAsyncHandler startImpl(AsyncCallable callable, long idleDelayMilis, String name, boolean waitIdleDelayBeforeStart) - Specified by:
startImplin classAbstractAsyncHandlerProvider
-
startMayBlockImpl
public IAsyncHandler startMayBlockImpl(AsyncCallable callable, long idleDelayMilis, String name, boolean waitIdleDelayBeforeStart) - Specified by:
startMayBlockImplin classAbstractAsyncHandlerProvider
-
onClose
protected void onClose()- Specified by:
onClosein classAbstractAsyncHandlerProvider
-