public interface IO
Modifier and Type | Method and Description |
---|---|
void |
close(String handle)
Close the stream, discard any temporary backing storage.
|
ReadResult |
read(String handle)
Read a chunk of the stream
|
ReadResult |
read(String handle,
Integer offset,
Integer size)
Read a chunk of the stream
|
String |
resolveBlob(String objectId)
Return UUID of Blob object specified by a remote object id.
|
ReadResult read(String handle, Integer offset, Integer size)
handle
- Handle of the stream to read.offset
- Seek to the specified offset before reading (if not specificed, proceed with offset following the last read).size
- Maximum number of bytes to read (left upon the agent discretion if not specified).void close(String handle)
handle
- Handle of the stream to close.String resolveBlob(String objectId)
objectId
- Object id of a Blob object wrapper.ReadResult read(String handle)
handle
- Handle of the stream to read.Copyright © 2017 WebFolder OÜ. All rights reserved.