Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
protected CacheManager |
_cacheManager |
protected boolean |
_closed |
protected boolean |
_closeThread |
protected Context |
_context |
protected boolean |
_isNotify |
protected static Logger |
_logger |
protected Object |
_shutDown |
protected int |
_threadNum |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Modifier | Constructor and Description |
---|---|
protected |
FifoWorkerThread(int num,
boolean isNotify,
String workerType,
CacheManager cacheManager,
SpaceEngine engine) |
Modifier and Type | Method and Description |
---|---|
abstract void |
activateFifoThread() |
abstract void |
close() |
protected NotifyActionType |
getNotifyType(int spaceOperation) |
protected void |
handleNonNotifyRequest(FifoBackgroundRequest rd) |
protected abstract void |
handleNotifyRequest(FifoBackgroundRequest rd) |
protected void |
handleNotifyRequest(FifoBackgroundRequest rd,
NotifyActionType notifyType) |
protected void |
handleRequest(FifoBackgroundRequest rd) |
protected void |
performGeneralEntryNonNotify(IEntryHolder eh,
FifoBackgroundRequest rd)
perform general non-notify
|
protected void |
performTemplateOnEntryNonNotify(IEntryHolder eh,
ITemplateHolder template,
FifoBackgroundRequest rd) |
abstract void |
positionAndActivateRequest(FifoBackgroundRequest rd) |
abstract void |
positionRequest(FifoBackgroundRequest rd) |
protected void |
processRejectedRequestsToPerform(FifoBackgroundRequest rd,
List<FifoBackgroundRequest> rejectedRequestsToPerform) |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
protected static final Logger _logger
protected final int _threadNum
protected final boolean _isNotify
protected final CacheManager _cacheManager
protected final Object _shutDown
protected Context _context
protected boolean _closed
protected boolean _closeThread
protected FifoWorkerThread(int num, boolean isNotify, String workerType, CacheManager cacheManager, SpaceEngine engine)
public abstract void close()
public abstract void positionRequest(FifoBackgroundRequest rd)
public abstract void activateFifoThread()
public abstract void positionAndActivateRequest(FifoBackgroundRequest rd)
protected NotifyActionType getNotifyType(int spaceOperation)
protected void handleRequest(FifoBackgroundRequest rd)
protected abstract void handleNotifyRequest(FifoBackgroundRequest rd) throws SAException, EntryDeletedException
SAException
EntryDeletedException
protected void handleNotifyRequest(FifoBackgroundRequest rd, NotifyActionType notifyType) throws EntryDeletedException, SAException
EntryDeletedException
SAException
protected void performTemplateOnEntryNonNotify(IEntryHolder eh, ITemplateHolder template, FifoBackgroundRequest rd) throws SAException, EntryDeletedException
SAException
EntryDeletedException
protected void performGeneralEntryNonNotify(IEntryHolder eh, FifoBackgroundRequest rd) throws SAException, EntryDeletedException
SAException
EntryDeletedException
protected void processRejectedRequestsToPerform(FifoBackgroundRequest rd, List<FifoBackgroundRequest> rejectedRequestsToPerform) throws SAException, EntryDeletedException
SAException
EntryDeletedException
protected void handleNonNotifyRequest(FifoBackgroundRequest rd) throws SAException, EntryDeletedException
SAException
EntryDeletedException
Copyright © GigaSpaces.