public class ScheduledThreadPoolAsyncHandlerProvider extends AbstractAsyncHandlerProvider
IAsyncHandlerProvider
AbstractAsyncHandlerProvider.ClosedProviderAsyncHandler
IAsyncHandlerProvider.CycleResult
_stateLock
Constructor and Description |
---|
ScheduledThreadPoolAsyncHandlerProvider(String name,
int corePoolSize) |
Modifier and Type | Method and Description |
---|---|
protected void |
onClose() |
IAsyncHandler |
startImpl(AsyncCallable callable,
long idleDelayMilis,
String name,
boolean waitIdleDelayBeforeStart) |
IAsyncHandler |
startMayBlockImpl(AsyncCallable callable,
long idleDelayMilis,
String name,
boolean waitIdleDelayBeforeStart) |
addStateListener, close, isClosed, removeStateListener, start, startMayBlock
public ScheduledThreadPoolAsyncHandlerProvider(String name, int corePoolSize)
public IAsyncHandler startImpl(AsyncCallable callable, long idleDelayMilis, String name, boolean waitIdleDelayBeforeStart)
startImpl
in class AbstractAsyncHandlerProvider
public IAsyncHandler startMayBlockImpl(AsyncCallable callable, long idleDelayMilis, String name, boolean waitIdleDelayBeforeStart)
startMayBlockImpl
in class AbstractAsyncHandlerProvider
protected void onClose()
onClose
in class AbstractAsyncHandlerProvider
Copyright © GigaSpaces.