public abstract class FifoBackgroundDispatcher extends Object
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
_logger |
protected FifoWorkerThread[] |
_nonNotifyFifoThreads |
protected FifoWorkerThread[] |
_notifyFifoThreads |
Modifier | Constructor and Description |
---|---|
protected |
FifoBackgroundDispatcher(int numNotifyFifoThreads,
int numNonNotifyFifoThreads,
CacheManager cacheManager,
SpaceEngine engine) |
Modifier and Type | Method and Description |
---|---|
abstract void |
activateRequest(FifoBackgroundRequest rd) |
protected static void |
activateRequest(FifoBackgroundRequest rd,
FifoWorkerThread[] workers) |
abstract void |
cancelRequest(FifoBackgroundRequest rd) |
void |
close() |
protected abstract FifoWorkerThread |
createFifoWorkerThread(int num,
boolean isNotify,
CacheManager cacheManager,
SpaceEngine engine) |
int |
getNumNonNotifyFifoThreads() |
int |
getNumNotifyFifoThreads() |
abstract void |
positionAndActivateRequest(FifoBackgroundRequest rd) |
protected static void |
positionAndActivateRequest(FifoBackgroundRequest rd,
FifoWorkerThread[] workers) |
abstract void |
positionRequest(FifoBackgroundRequest rd) |
protected static void |
positionRequest(FifoBackgroundRequest rd,
FifoWorkerThread[] workers) |
protected static final org.slf4j.Logger _logger
protected final FifoWorkerThread[] _notifyFifoThreads
protected final FifoWorkerThread[] _nonNotifyFifoThreads
protected FifoBackgroundDispatcher(int numNotifyFifoThreads, int numNonNotifyFifoThreads, CacheManager cacheManager, SpaceEngine engine)
protected abstract FifoWorkerThread createFifoWorkerThread(int num, boolean isNotify, CacheManager cacheManager, SpaceEngine engine)
public void close()
public int getNumNotifyFifoThreads()
public int getNumNonNotifyFifoThreads()
public abstract void positionRequest(FifoBackgroundRequest rd)
public abstract void activateRequest(FifoBackgroundRequest rd)
public abstract void positionAndActivateRequest(FifoBackgroundRequest rd)
public abstract void cancelRequest(FifoBackgroundRequest rd)
protected static void positionRequest(FifoBackgroundRequest rd, FifoWorkerThread[] workers)
protected static void activateRequest(FifoBackgroundRequest rd, FifoWorkerThread[] workers)
protected static void positionAndActivateRequest(FifoBackgroundRequest rd, FifoWorkerThread[] workers)
Copyright © GigaSpaces.