public void test_blob_allocs(){
  final Journal store=(Journal)getStore();
  try {
    final RWStrategy bufferStrategy=(RWStrategy)store.getBufferStrategy();
    final RWStore rw=bufferStrategy.getStore();
    final long numAllocs=rw.getTotalAllocations();
    final long startAllocations=rw.getTotalAllocationsSize();
    final int startBlob=1024 * 256;
    final int endBlob=1024 * 1256;
    final int[] faddrs=allocBatchBuffer(rw,100,startBlob,endBlob);
    if (log.isInfoEnabled()) {
      final StringBuilder str=new StringBuilder();
      rw.showAllocators(str);
      log.info(str);
    }
  }
  finally {
    store.destroy();
  }
}

public void test_blob_allocs ( ) { final Journal store = ( Journal ) getStore ( ) ; try { final RWStrategy bufferStrategy = ( RWStrategy ) store . getBufferStrategy ( ) ; final RWStore rw = bufferStrategy . getStore ( ) ; final long numAllocs = rw . getTotalAllocations ( ) ; final long startAllocations = rw . getTotalAllocationsSize ( ) ; final int startBlob = 1024 * 256 ; final int endBlob = 1024 * 1256 ; final int [ ] faddrs = allocBatchBuffer ( rw , 100 , startBlob , endBlob ) ; if ( log . isInfoEnabled ( ) ) { final StringBuilder str = new StringBuilder ( ) ; rw . showAllocators ( str ) ; log . info ( str ) ; } } finally { store . destroy ( ) ; } }
test of blob allocation , does not check on read back , just the allocation
