public class TransformerOutput extends BufferedOutput
| Modifier and Type | Field and Description |
|---|---|
protected AttributeStorage |
attributeStorage |
protected MemoryManager |
memoryManager |
protected Transformer<Buffer,Buffer> |
transformer |
protected Output |
underlyingOutput |
bufferSize, isClosed, multiBufferWindow, ZERO, ZERO_READY_FUTURE| Constructor and Description |
|---|
TransformerOutput(Transformer<Buffer,Buffer> transformer,
Output underlyingOutput,
Connection connection) |
TransformerOutput(Transformer<Buffer,Buffer> transformer,
Output underlyingOutput,
MemoryManager memoryManager,
AttributeStorage attributeStorage) |
| Modifier and Type | Method and Description |
|---|---|
protected GrizzlyFuture<Integer> |
flush0(Buffer buffer,
CompletionHandler<Integer> completionHandler) |
protected Buffer |
newBuffer(int size) |
protected void |
onClosed() |
protected Buffer |
reallocateBuffer(Buffer oldBuffer,
int size) |
close, ensureBufferCapacity, flush, getBuffer, getBufferedSize, isBuffered, write, writeprotected final Transformer<Buffer,Buffer> transformer
protected final Output underlyingOutput
protected final MemoryManager memoryManager
protected final AttributeStorage attributeStorage
public TransformerOutput(Transformer<Buffer,Buffer> transformer, Output underlyingOutput, Connection connection)
public TransformerOutput(Transformer<Buffer,Buffer> transformer, Output underlyingOutput, MemoryManager memoryManager, AttributeStorage attributeStorage)
protected GrizzlyFuture<Integer> flush0(Buffer buffer, CompletionHandler<Integer> completionHandler) throws IOException
flush0 in class BufferedOutputIOExceptionprotected Buffer newBuffer(int size)
newBuffer in class BufferedOutputprotected Buffer reallocateBuffer(Buffer oldBuffer, int size)
reallocateBuffer in class BufferedOutputprotected void onClosed()
throws IOException
onClosed in class BufferedOutputIOExceptionCopyright © 2015 Oracle Corporation. All Rights Reserved.