public class ThreadAsyncHandlerProvider extends AbstractAsyncHandlerProvider
Modifier and Type | Class and Description |
---|---|
static class |
ThreadAsyncHandlerProvider.AsyncRunnableWrapper |
AbstractAsyncHandlerProvider.ClosedProviderAsyncHandler
IAsyncHandlerProvider.CycleResult
_stateLock
Constructor and Description |
---|
ThreadAsyncHandlerProvider() |
Modifier and Type | Method and Description |
---|---|
int |
activeThreadsCount() |
protected void |
onClose() |
void |
removeCurrent() |
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 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
public void removeCurrent()
protected void onClose()
onClose
in class AbstractAsyncHandlerProvider
public int activeThreadsCount()
Copyright © GigaSpaces.