Examples of StdOutLogAdapter


Examples of org.entityfs.support.log.StdOutLogAdapter

    try
    {
      ReadWritableFile f = new ReadWritableFileAdapter(tmpFile);
      byte[] barr = writeJunk(f);
      // 8 records per node + 1 extra byte
      NodeRepository<Long> nr = new FileBackedNodeRepository<Long, Long>(f, false, f.getSize(), new FixedSizeNodeSizeStrategy(new NumberOfRecordsNodeSizeStrategy(8).getNodeSize(FileBackedNodeRepository.NODE_HEADER_SIZE, 16, 0) + 1), false, LongNullSerializer.INSTANCE, LongSerializer.INSTANCE, 7, 8192, null, new LogAdapterHolder(new StdOutLogAdapter()));
      testLargeBTreeInternal(nr, compact, LONG_CONVERTER, LONG_CONVERTER, 10000);
      assertJunkUntouched(f, barr);
    }
    finally
    {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.