public abstract class DataSink extends Thread
Thread.State, Thread.UncaughtExceptionHandler| Modifier and Type | Field and Description |
|---|---|
protected gr.uoa.di.madgik.grs.record.RecordDefinition[] |
fieldDefs
The field definition of the reader
|
protected URI |
inLocator
The locator of the input
|
protected String |
output
Output value of the
DataSink |
protected Map<String,String> |
outputParameters
Output parameters of the
DataSink |
protected gr.uoa.di.madgik.searchlibrary.operatorlibrary.stats.StatsContainer |
stats
Statistics
|
protected long |
timeout |
protected TimeUnit |
timeUnit |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
DataSink(URI inLocator,
String output,
Map<String,String> outputParameters,
gr.uoa.di.madgik.searchlibrary.operatorlibrary.stats.StatsContainer stats)
Constructor of the abstract class.
|
| Modifier and Type | Method and Description |
|---|---|
abstract String |
getOutput()
Abstract method used to retrieve output
|
void |
setTimeout(long timeout) |
void |
setTimeUnit(TimeUnit timeUnit) |
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, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldprotected URI inLocator
protected gr.uoa.di.madgik.grs.record.RecordDefinition[] fieldDefs
protected long timeout
protected TimeUnit timeUnit
protected gr.uoa.di.madgik.searchlibrary.operatorlibrary.stats.StatsContainer stats
public abstract String getOutput()
public void setTimeout(long timeout)
timeout - the timeout to setpublic void setTimeUnit(TimeUnit timeUnit)
timeUnit - the timeUnit to setCopyright © 2015. All Rights Reserved.