示例#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();
 }