Example #1
0
 @Override
 public void force(boolean b) throws IOException {
   fs.ensureHasSpace();
   inner.force(b);
 }
Example #2
0
 @Override
 public int read(ByteBuffer byteBuffer, long l) throws IOException {
   return inner.read(byteBuffer, l);
 }
Example #3
0
 @Override
 public long size() throws IOException {
   return inner.size();
 }
Example #4
0
 @Override
 public LimitedFileChannel truncate(long l) throws IOException {
   return new LimitedFileChannel(inner.truncate(l), fs);
 }
Example #5
0
 @Override
 public long position() throws IOException {
   return inner.position();
 }
Example #6
0
 @Override
 public LimitedFileChannel position(long l) throws IOException {
   return new LimitedFileChannel(inner.position(l), fs);
 }
Example #7
0
 @Override
 public int write(ByteBuffer byteBuffer) throws IOException {
   fs.ensureHasSpace();
   return inner.write(byteBuffer);
 }
Example #8
0
 @Override
 public long write(ByteBuffer[] byteBuffers, int i, int i1) throws IOException {
   fs.ensureHasSpace();
   return inner.write(byteBuffers, i, i1);
 }
Example #9
0
 @Override
 public void close() throws IOException {
   inner.close();
 }
Example #10
0
 @Override
 public long read(ByteBuffer[] byteBuffers, int i, int i1) throws IOException {
   return inner.read(byteBuffers, i, i1);
 }
Example #11
0
 @Override
 public boolean isOpen() {
   return inner.isOpen();
 }
Example #12
0
 @Override
 public MappedByteBuffer map(FileChannel.MapMode mapMode, long l, long l1) throws IOException {
   return inner.map(mapMode, l, l1);
 }
Example #13
0
 @Override
 public void writeAll(ByteBuffer src) throws IOException {
   fs.ensureHasSpace();
   inner.writeAll(src);
 }
Example #14
0
 @Override
 public int write(ByteBuffer byteBuffer, long l) throws IOException {
   return inner.write(byteBuffer, l);
 }
Example #15
0
 @Override
 public FileLock tryLock() throws IOException {
   return inner.tryLock();
 }