@NotThreadSafe @DefaultAnnotation(value=edu.umd.cs.findbugs.annotations.NonNull.class) 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
JmxSeekableByteChannel(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 © 2004-2011 Schlichtherle IT Services. All Rights Reserved.