@ThreadSafe public abstract class DecoratingIoBuffer extends DecoratingEntry<IoBuffer> implements IoBuffer
Entry.Access, Entry.Entity, Entry.PosixEntity, Entry.Size, Entry.Type
entry
ALL_ACCESS, ALL_POSIX_ACCESS, ALL_POSIX_ENTITIES, ALL_SIZES, ALL_TYPES, DIRECTORY_TYPE, FILE_TYPE, NO_ACCESS, NO_POSIX_ENTITIES, NO_SIZES, NO_TYPES, SPECIAL_TYPE, SYMLINK_TYPE, UNKNOWN
Modifier | Constructor and Description |
---|---|
protected |
DecoratingIoBuffer() |
protected |
DecoratingIoBuffer(IoBuffer entry) |
Modifier and Type | Method and Description |
---|---|
InputSocket<? extends IoBuffer> |
input()
Returns an input socket for reading this entry.
|
OutputSocket<? extends IoBuffer> |
output()
Returns an output socket for writing this entry.
|
void |
release()
Releases this resource to its pool.
|
getName, getSize, getTime, isPermitted, toString
equals, hashCode
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getName, getSize, getTime, isPermitted
protected DecoratingIoBuffer()
protected DecoratingIoBuffer(IoBuffer entry)
public InputSocket<? extends IoBuffer> input()
IoEntry
IoSocket.target()
of the returned socket
must return this entry.public OutputSocket<? extends IoBuffer> output()
IoEntry
IoSocket.target()
of the returned socket
must return this entry.public void release() throws IOException
Releasable
release
in interface Releasable<IOException>
IOException
Copyright © 2012–2016 Schlichtherle IT Services. All rights reserved.