SMILA 1.0 API documentation

org.eclipse.smila.taskworker.output
Class Output

java.lang.Object
  extended by org.eclipse.smila.taskworker.io.IODataObject
      extended by org.eclipse.smila.taskworker.output.Output
Direct Known Subclasses:
AppendableOutput, RecordOutput, StreamOutput

public abstract class Output
extends IODataObject

Super class for the output data in task worker.


Field Summary
 
Fields inherited from class org.eclipse.smila.taskworker.io.IODataObject
_objectStore
 
Constructor Summary
Output(BulkInfo dataObject, ObjectStoreService objectStore)
          Create Instance.
 
Method Summary
abstract  void abort()
          method for aborting the stream when not committing it.
abstract  void commit()
          Method for committing the data, if necessary.
 
Methods inherited from class org.eclipse.smila.taskworker.io.IODataObject
ensureStore, getCounter, getDataObject, getDurationOpen, getDurationPerform, getObjectName, getObjectStore, getStoreName, startTime, timeOpen, timePerform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Output

public Output(BulkInfo dataObject,
              ObjectStoreService objectStore)
Create Instance. Each subclass must implement the same constructor so that it can be instantiated by Outputs.

Method Detail

commit

public abstract void commit()
                     throws ObjectStoreException,
                            java.io.IOException
Method for committing the data, if necessary.

Throws:
ObjectStoreException
java.io.IOException

abort

public abstract void abort()
                    throws ObjectStoreException,
                           java.io.IOException
method for aborting the stream when not committing it.

Throws:
ObjectStoreException
java.io.IOException

SMILA 1.0 API documentation