Package org.xtreemfs.babudb.lsmdb

Examples of org.xtreemfs.babudb.lsmdb.LSN


    RandomGenerator testGen2 = new RandomGenerator();
    testGen1.initialize(testSeed);
    testGen2.initialize(testSeed);
   
    for (int i=0;i<NO_TESTS_PER_CASE;i++){
      LSN testLSN = new LSN(random.nextInt(RandomGenerator.MAX_VIEWID-1)+1,random.nextInt((int) (RandomGenerator.MAX_SEQUENCENO-1L))+1L);
      assertEquals(testGen1.getInsertGroup(testLSN).lookUpCompareable(),testGen2.getLookupGroup(testLSN).toString());
      assertEquals(testGen2.getInsertGroup(testLSN).lookUpCompareable(),testGen1.getLookupGroup(testLSN).toString());
      testGen1.reset();
      testGen2.reset();
    }
View Full Code Here

TOP

Related Classes of org.xtreemfs.babudb.lsmdb.LSN

Copyright © 2018 www.massapicom. 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.