gr.uoa.di.madgik.searchlibrary.operatorlibrary.gmerge
Class GradualLocatorReader
java.lang.Object
java.lang.Thread
gr.uoa.di.madgik.searchlibrary.operatorlibrary.gmerge.GradualLocatorReader
- All Implemented Interfaces:
- Runnable
public class GradualLocatorReader
- extends Thread
Class responsible for reading Readers from a result set
- Author:
- john.gerbesiotis - DI NKUA
|
Field Summary |
static int |
BufferCapacityDef
The default capacity of the of all readers' result set buffers |
| 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 |
BufferCapacityDef
public static final int BufferCapacityDef
- The default capacity of the of all readers' result set buffers
- See Also:
- Constant Field Values
GradualLocatorReader
public GradualLocatorReader(URI locator,
Vector<ReaderHolder> readers,
Vector<ReaderInit> initT,
String uid,
Object synchDispatcher)
throws gr.uoa.di.madgik.grs.reader.GRS2ReaderException
- Creates a new
GradualLocatorReader
- Parameters:
locator - The locator of the result set containing input locatorsreaders - A vector of the readersinitT - A vector with the initialization status of the readersuid - Unique IDsynchDispatcher - synchronization object
- Throws:
gr.uoa.di.madgik.grs.reader.GRS2ReaderException - If locator can not be initialized
hasFinished
public boolean hasFinished()
run
public void run()
- Specified by:
run in interface Runnable- Overrides:
run in class Thread
Copyright © 2013. All Rights Reserved.