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 com.gigaspaces.internal.utils.concurrent.AbstractAsyncHandlerProvider
AbstractAsyncHandlerProvider.ClosedProviderAsyncHandlerNested classes/interfaces inherited from interface com.gigaspaces.internal.utils.concurrent.IAsyncHandlerProvider
IAsyncHandlerProvider.CycleResult -
Field Summary
Fields inherited from class com.gigaspaces.internal.utils.concurrent.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 com.gigaspaces.internal.utils.concurrent.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
-