public abstract class FileOutputStream extends OutputStream implements SagaObject, Async
NO_WAIT, WAIT_FOREVER
Constructor and Description |
---|
FileOutputStream() |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Clone is mentioned here because the inherited
Object.clone() cannot hide the public version in
SagaObject.clone() . |
abstract Task<FileOutputStream,Void> |
close(TaskMode mode)
Creates a task that closes this stream.
|
abstract Task<FileOutputStream,Void> |
flush(TaskMode mode)
Creates a task that flushes this stream.
|
Task<FileOutputStream,Void> |
write(TaskMode mode,
byte[] buf)
Creates a task that writes a buffer to this stream.
|
abstract Task<FileOutputStream,Void> |
write(TaskMode mode,
byte[] buf,
int off,
int len)
Creates a task that writes (part of) a buffer to this stream.
|
abstract Task<FileOutputStream,Void> |
write(TaskMode mode,
int b)
Creates a task that writes a byte to this stream.
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getId, getSession
public Object clone() throws CloneNotSupportedException
Object.clone()
cannot hide the public version in
SagaObject.clone()
.clone
in interface SagaObject
clone
in class Object
CloneNotSupportedException
- when the clone method is not supported.public abstract Task<FileOutputStream,Void> write(TaskMode mode, int b) throws NotImplementedException
OutputStream.write(int)
.mode
- the task mode.NotImplementedException
- is thrown if the implementation does not provide an
implementation of this method.public abstract Task<FileOutputStream,Void> write(TaskMode mode, byte[] buf, int off, int len) throws NotImplementedException
OutputStream.write(byte[], int, int)
.mode
- the task mode.NotImplementedException
- is thrown if the implementation does not provide an
implementation of this method.public Task<FileOutputStream,Void> write(TaskMode mode, byte[] buf) throws NotImplementedException
OutputStream.write(byte[])
.mode
- the task mode.NotImplementedException
- is thrown if the implementation does not provide an
implementation of this method.public abstract Task<FileOutputStream,Void> flush(TaskMode mode) throws NotImplementedException
OutputStream.flush()
.mode
- the task mode.NotImplementedException
- is thrown if the implementation does not provide an
implementation of this method.public abstract Task<FileOutputStream,Void> close(TaskMode mode) throws NotImplementedException
OutputStream.close()
.mode
- the task mode.NotImplementedException
- is thrown if the implementation does not provide an
implementation of this method.Copyright © 2016 Open Grid Forum. All rights reserved.