public class TailingChangesPoller extends Thread
Thread.State, Thread.UncaughtExceptionHandlerMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
TailingChangesPoller(RecentChangesPoller poller,
BlockingQueue<RecentChangesPoller.Batch> queue,
int tailSeconds) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isOldEnough(Instant timestamp)
Is this timestamp old enough?
|
void |
run() |
void |
setPollerTs(Instant ts)
Set main poller timestamp.
|
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, yieldpublic TailingChangesPoller(RecentChangesPoller poller, BlockingQueue<RecentChangesPoller.Batch> queue, int tailSeconds)
Copyright © 2019. All rights reserved.