@NotThreadSafe final class JmxSeekableByteChannel extends DecoratingSeekableByteChannel
| Modifier and Type | Field and Description |
|---|---|
private JmxIOStatistics |
stats |
delegate| Constructor and Description |
|---|
JmxSeekableByteChannel(SeekableByteChannel sbc,
JmxIOStatistics stats) |
| Modifier and Type | Method and Description |
|---|---|
int |
read(ByteBuffer buf) |
int |
write(ByteBuffer buf) |
private final JmxIOStatistics stats
@CreatesObligation JmxSeekableByteChannel(@WillCloseWhenClosed SeekableByteChannel sbc, JmxIOStatistics stats)
public int read(ByteBuffer buf) throws IOException
read in interface ReadableByteChannelread in interface SeekableByteChannelread in class DecoratingSeekableByteChannelIOExceptionpublic int write(ByteBuffer buf) throws IOException
write in interface SeekableByteChannelwrite in interface WritableByteChannelwrite in class DecoratingSeekableByteChannelIOExceptionCopyright © 2005-2012 Schlichtherle IT Services. All Rights Reserved.