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