@Override public long transferFrom(final StreamSourceChannel source, final long count, final ByteBuffer throughBuffer) throws IOException { long ret = super.transferFrom(source, count, throughBuffer); handleWriteTimeout(ret); return ret; }
@Override public int write(final ByteBuffer src) throws IOException { int ret = super.write(src); handleWriteTimeout(ret); return ret; }
@Override public long write(final ByteBuffer[] srcs, final int offset, final int length) throws IOException { long ret = super.write(srcs, offset, length); handleWriteTimeout(ret); return ret; }
@Override public long transferFrom(final FileChannel src, final long position, final long count) throws IOException { long ret = super.transferFrom(src, position, count); handleWriteTimeout(ret); return ret; }
@Override public int writeFinal(ByteBuffer src) throws IOException { int ret = super.writeFinal(src); handleWriteTimeout(ret); if(!src.hasRemaining()) { if(handle != null) { handle.remove(); handle = null; } } return ret; }
@Override public long writeFinal(ByteBuffer[] srcs, int offset, int length) throws IOException { long ret = super.writeFinal(srcs, offset, length); handleWriteTimeout(ret); if(!Buffers.hasRemaining(srcs)) { if(handle != null) { handle.remove(); handle = null; } } return ret; }
@Override public long write(final ByteBuffer[] srcs, final int offset, final int length) throws IOException { long ret = super.write(srcs, offset, length); handleWriteTimeout(ret); return ret; }
@Override public long transferFrom(final StreamSourceChannel source, final long count, final ByteBuffer throughBuffer) throws IOException { long ret = super.transferFrom(source, count, throughBuffer); handleWriteTimeout(ret); return ret; }
@Override public long transferFrom(final FileChannel src, final long position, final long count) throws IOException { long ret = super.transferFrom(src, position, count); handleWriteTimeout(ret); return ret; }
@Override public long transferFrom(final FileChannel src, final long position, final long count) throws IOException { long ret = super.transferFrom(src, position, count); handleWriteTimeout(ret); return ret; }
@Override public int write(final ByteBuffer src) throws IOException { int ret = super.write(src); handleWriteTimeout(ret); return ret; }
@Override public long transferFrom(final StreamSourceChannel source, final long count, final ByteBuffer throughBuffer) throws IOException { long ret = super.transferFrom(source, count, throughBuffer); handleWriteTimeout(ret); return ret; }
@Override public long write(final ByteBuffer[] srcs, final int offset, final int length) throws IOException { long ret = super.write(srcs, offset, length); handleWriteTimeout(ret); return ret; }
@Override public int write(final ByteBuffer src) throws IOException { int ret = super.write(src); handleWriteTimeout(ret); return ret; }
@Override public int writeFinal(ByteBuffer src) throws IOException { int ret = super.writeFinal(src); handleWriteTimeout(ret); if(!src.hasRemaining()) { if(handle != null) { handle.remove(); handle = null; } } return ret; }
@Override public int writeFinal(ByteBuffer src) throws IOException { int ret = super.writeFinal(src); handleWriteTimeout(ret); if(!src.hasRemaining()) { if(handle != null) { handle.remove(); handle = null; } } return ret; }
@Override public long writeFinal(ByteBuffer[] srcs, int offset, int length) throws IOException { long ret = super.writeFinal(srcs, offset, length); handleWriteTimeout(ret); if(!Buffers.hasRemaining(srcs)) { if(handle != null) { handle.remove(); handle = null; } } return ret; }
@Override public long writeFinal(ByteBuffer[] srcs, int offset, int length) throws IOException { long ret = super.writeFinal(srcs, offset, length); handleWriteTimeout(ret); if(!Buffers.hasRemaining(srcs)) { if(handle != null) { handle.remove(); handle = null; } } return ret; }