public class SaveOutput extends Event<Void>
Causes the FileStorage
component to write the data from all
Output
events on the channel that this event is fired on to a file
until an event with the end of record flag set is sent on the channel.
completed, completionEvents
Constructor and Description |
---|
SaveOutput(Path path,
OpenOption... options)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
OpenOption[] |
options()
Returns the event’s options.
|
Path |
path()
Return’s the event’s path.
|
addCompletionEvent, associated, cancel, channels, channels, completionEvents, currentResults, defaultCriterion, forChannels, get, get, handled, handlingError, isCancelled, isDone, isEligibleFor, isStopped, processedBy, results, results, setAssociated, setChannels, setRequiresResult, setResult, stop, tieTo, toString
disableTracking, enqueued, firstResultAssigned, isTracked
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
associated, associated, associated
public SaveOutput(Path path, OpenOption... options)
Creates a new instance.
path
- the file’s pathoptions
- open optionspublic OpenOption[] options()
Returns the event’s options.