Example #1
0
 @Override
 public void force(boolean b) throws IOException {
   fs.ensureHasSpace();
   inner.force(b);
 }
Example #2
0
 @Override
 public int write(ByteBuffer byteBuffer) throws IOException {
   fs.ensureHasSpace();
   return inner.write(byteBuffer);
 }
Example #3
0
 @Override
 public long write(ByteBuffer[] byteBuffers, int i, int i1) throws IOException {
   fs.ensureHasSpace();
   return inner.write(byteBuffers, i, i1);
 }
Example #4
0
 @Override
 public void writeAll(ByteBuffer src) throws IOException {
   fs.ensureHasSpace();
   inner.writeAll(src);
 }