|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
gr.uoa.di.madgik.searchlibrary.operatorlibrary.keeptop.KeepTopWorker<T>
public class KeepTopWorker<T extends gr.uoa.di.madgik.grs.record.Record>
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
Thread.State, Thread.UncaughtExceptionHandler |
| Field Summary |
|---|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
KeepTopWorker(gr.uoa.di.madgik.grs.reader.IRecordReader<T> reader,
gr.uoa.di.madgik.grs.writer.IRecordWriter<T> writer,
int count,
StatsContainer stats,
long timeout,
TimeUnit timeUnit)
Creates a new KeepTopWorker which will perform the background keep-top operation |
|
| Method Summary | |
|---|---|
void |
run()
Performs the keep-top operation |
| Methods inherited from class java.lang.Thread |
|---|
activeCount, checkAccess, 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public KeepTopWorker(gr.uoa.di.madgik.grs.reader.IRecordReader<T> reader,
gr.uoa.di.madgik.grs.writer.IRecordWriter<T> writer,
int count,
StatsContainer stats,
long timeout,
TimeUnit timeUnit)
KeepTopWorker which will perform the background keep-top operation
reader - The reader to consume record fromwriter - The writer which will be used for authoringcount - The number of records to keepstats - Statisticstimeout - The timeout to be used both by the reader and the writertimeUnit - The unit of the timeout to be used| Method Detail |
|---|
public void run()
run in interface Runnablerun in class Thread
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||