|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Thread
org.gcube.datatransformation.datatransformationlibrary.DataSourceMerger
public class DataSourceMerger
DataElements of many DataSources and store them into one DataSink.| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary |
|---|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
DataSourceMerger()
|
|
| Method Summary | |
|---|---|
boolean |
add(org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataSource source)
Adds a DataSource in the DataSourceMerger. |
void |
finishedAddingSources()
This method have to been invoked in order to denote that no more DataSources will be appended in the DataSourceMerger. |
void |
run()
|
void |
setSink(org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataSink sink)
Sets the common DataSink. |
| 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 |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DataSourceMerger()
| Method Detail |
|---|
public void run()
run in interface java.lang.Runnablerun in class java.lang.ThreadThread.run()public void finishedAddingSources()
DataSources will be appended in the DataSourceMerger.
public boolean add(org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataSource source)
DataSource in the DataSourceMerger.
source - The DataSource which will be added.
DataSource appended in the List successfully.public void setSink(org.gcube.datatransformation.datatransformationlibrary.datahandlers.DataSink sink)
sink - The common DataSink.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||