gr.uoa.di.madgik.searchlibrary.operatorlibrary.gmerge
Class GradualLocatorReader

java.lang.Object
  extended by java.lang.Thread
      extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class java.lang.Thread
Thread.State, Thread.UncaughtExceptionHandler
 
Field Summary
static int BufferCapacityDef
          The default capacity of the of all readers' result set buffers
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
GradualLocatorReader(URI locator, Vector<ReaderHolder> readers, Vector<ReaderInit> initT, String uid, Object synchDispatcher)
          Creates a new GradualLocatorReader
 
Method Summary
 boolean hasFinished()
           
 void run()
           
 
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
 

Field Detail

BufferCapacityDef

public static final int BufferCapacityDef
The default capacity of the of all readers' result set buffers

See Also:
Constant Field Values
Constructor Detail

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 locators
readers - A vector of the readers
initT - A vector with the initialization status of the readers
uid - Unique ID
synchDispatcher - synchronization object
Throws:
gr.uoa.di.madgik.grs.reader.GRS2ReaderException - If locator can not be initialized
Method Detail

hasFinished

public boolean hasFinished()

run

public void run()
Specified by:
run in interface Runnable
Overrides:
run in class Thread


Copyright © 2013. All Rights Reserved.