protected class ContentHistoryWatcher.IdcPollingThread extends Thread
Thread.State, Thread.UncaughtExceptionHandler
Modifier and Type | Field and Description |
---|---|
protected ContentHistoryWatcher.QueryDate |
m_currentDate |
protected boolean |
m_keepRunning |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
Modifier | Constructor and Description |
---|---|
protected |
IdcPollingThread() |
Modifier and Type | Method and Description |
---|---|
protected DataBinder |
buildDocHistoryQuery(String whereClause,
String orderClause)
Build the document history query
|
protected String |
getCurrentDate() |
protected String[] |
getCurrentDateWhereClause() |
protected String[] |
getCurrentDateWhereClause(DataObject documentEvent) |
protected String |
getDefaultCurrentDate() |
protected String |
getMonitoredSubjects(Map<String,Long> subjectTime)
Build the request modifier to send custom subject queries
|
boolean |
isKeepRunning() |
void |
run() |
protected void |
sendEventsForResponse(DataBinder responseBinder)
Send our the events for the response
|
void |
setKeepRunning(boolean keepRunning) |
protected void |
updateCurrentDate(Date date)
Updates the current date returned by getCurrentDate().
|
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, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
protected boolean m_keepRunning
protected ContentHistoryWatcher.QueryDate m_currentDate
public boolean isKeepRunning()
public void setKeepRunning(boolean keepRunning)
protected DataBinder buildDocHistoryQuery(String whereClause, String orderClause)
whereClause
- the where clauseorderClause
- the order clauseprotected void sendEventsForResponse(DataBinder responseBinder)
responseBinder
- the binder with the results of the queryprotected String getCurrentDate()
protected String getDefaultCurrentDate()
protected void updateCurrentDate(Date date)
date
- protected String[] getCurrentDateWhereClause()
protected String[] getCurrentDateWhereClause(DataObject documentEvent) throws IdcClientException
documentEvent
- the document eventIdcClientException