private class FsMultiplexedOutputShop.BufferedEntryOutputStream extends DecoratingOutputStream
I/O pool entry.
When the stream gets closed, the I/O pool entry is then copied to this
output shop and finally deleted unless this output shop is still busy.| Modifier and Type | Field and Description |
|---|---|
(package private) IOPool.Entry<?> |
buffer |
(package private) boolean |
closed |
(package private) InputSocket<Entry> |
input |
(package private) E |
local |
(package private) OutputSocket<? extends E> |
output |
delegate| Constructor and Description |
|---|
FsMultiplexedOutputShop.BufferedEntryOutputStream(IOPool.Entry<?> buffer,
OutputSocket<? extends E> output) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
(package private) void |
copyProperties() |
(package private) E |
getTarget() |
(package private) boolean |
store(boolean discard) |
final IOPool.Entry<?> buffer
boolean closed
final InputSocket<Entry> input
final E extends FsArchiveEntry local
final OutputSocket<? extends E extends FsArchiveEntry> output
@CreatesObligation FsMultiplexedOutputShop.BufferedEntryOutputStream(IOPool.Entry<?> buffer, OutputSocket<? extends E> output) throws IOException
IOExceptionpublic void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class DecoratingOutputStreamIOExceptionvoid copyProperties()
throws IOException
IOExceptionE getTarget()
boolean store(boolean discard)
throws IOException
IOExceptionCopyright © 2005-2012 Schlichtherle IT Services. All Rights Reserved.