gr.uoa.di.madgik.searchlibrary.operatorlibrary.indexfuse
Class IndexFuseWorker

java.lang.Object
  extended by java.lang.Thread
      extended by gr.uoa.di.madgik.searchlibrary.operatorlibrary.indexfuse.IndexFuseWorker
All Implemented Interfaces:
Runnable

public class IndexFuseWorker
extends Thread

Helper thread class used to perform the fuse operation

Author:
UoA

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
IndexFuseWorker(gr.uoa.di.madgik.grs.writer.RecordWriter<gr.uoa.di.madgik.grs.record.Record> writer, gr.uoa.di.madgik.grs.reader.ForwardReader<gr.uoa.di.madgik.grs.record.Record>[] contentReaders, gr.uoa.di.madgik.grs.reader.ForwardReader<gr.uoa.di.madgik.grs.record.Record>[][] metaReaders, String[] colIDs, double weightContent, double weightMetadata, String objectIdFieldName, String collectionFieldName, String rankFieldName, long timeout, TimeUnit timeUnit, StatsContainer stats)
          Creates a new IndexFuseWorker
 
Method Summary
 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
 

Constructor Detail

IndexFuseWorker

public IndexFuseWorker(gr.uoa.di.madgik.grs.writer.RecordWriter<gr.uoa.di.madgik.grs.record.Record> writer,
                       gr.uoa.di.madgik.grs.reader.ForwardReader<gr.uoa.di.madgik.grs.record.Record>[] contentReaders,
                       gr.uoa.di.madgik.grs.reader.ForwardReader<gr.uoa.di.madgik.grs.record.Record>[][] metaReaders,
                       String[] colIDs,
                       double weightContent,
                       double weightMetadata,
                       String objectIdFieldName,
                       String collectionFieldName,
                       String rankFieldName,
                       long timeout,
                       TimeUnit timeUnit,
                       StatsContainer stats)
Creates a new IndexFuseWorker

Parameters:
writer - The RSXMLWriter to write records to
contentReaders - The iterators over the content collections input
metaReaders - The iterators over the metadata collections input
weightContent - The weight of the content scoring
weightMetadata - The weight of the metadata scoring
stats - statistics
Method Detail

run

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


Copyright © 2013. All Rights Reserved.