| Modifier and Type | Field and Description |
|---|---|
| private boolean | |
| private final OutputStream | |
| private final Path |
| Access | Constructor and Description |
|---|---|
| public | |
| public | FileBasedScatterGatherBackingStore(final Path
The path to offload compressed data into. target)Constructs a new instance for the given path. |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Implements java. |
| public void | closeForWriting()
Implements org. |
| public InputStream | getInputStream()
Implements org. |
| public void | writeOut(final byte[]
the data to write data, final int offset inside data to start writing from offset, final int the amount of data to write length)Implements org. |
| closed | back to summary |
|---|---|
| private boolean closed | |
| outputStream | back to summary |
|---|---|
| private final OutputStream outputStream | |
| target | back to summary |
|---|---|
| private final Path target | |
| FileBasedScatterGatherBackingStore | back to summary |
|---|---|
| public FileBasedScatterGatherBackingStore(final File target) throws FileNotFoundException | |
| FileBasedScatterGatherBackingStore | back to summary |
|---|---|
| public FileBasedScatterGatherBackingStore(final Path target) throws FileNotFoundException Constructs a new instance for the given path.
| |
| close | back to summary |
|---|---|
| public void close() throws IOException Implements java. Doc from java. Closes this stream and releases any system resources associated with it. If the stream is already closed then invoking this method has no effect. As noted in
| |
| closeForWriting | back to summary |
|---|---|
| public void closeForWriting() throws IOException Implements org. Doc from org. Closes this backing store for further writing.
| |
| getInputStream | back to summary |
|---|---|
| public InputStream getInputStream() throws IOException Implements org. Doc from org. An input stream that contains the scattered payload
| |
| writeOut | back to summary |
|---|---|
| public void writeOut(final byte[] data, final int offset, final int length) throws IOException Implements org. Doc from org. Writes a piece of payload.
| |