Package com.alibaba.wasp.fserver.redo

Examples of com.alibaba.wasp.fserver.redo.MemRedoLog


      Assert.assertEquals(units.size(), 1);
      // EntityGroup execute insert
      eg.insert(units.get(0));
      Redo redo = eg.getLog();
      if (redo instanceof MemRedoLog) {
        MemRedoLog memRedo = (MemRedoLog) redo;
        Assert.assertEquals(0, memRedo.size());
      }
    }
  }
View Full Code Here


      Assert.assertEquals(units.size(), 1);
      // EntityGroup execute update
      eg.update(units.get(0));
      Redo redo = eg.getLog();
      if (redo instanceof MemRedoLog) {
        MemRedoLog memRedo = (MemRedoLog) redo;
        Assert.assertEquals(memRedo.size(), 0);
      }
    }
  }
View Full Code Here

      Assert.assertEquals(units.size(), 1);
      // EntityGroup execute delete
      eg.delete(units.get(0));
      Redo redo = eg.getLog();
      if (redo instanceof MemRedoLog) {
        MemRedoLog memRedo = (MemRedoLog) redo;
        Assert.assertEquals(memRedo.size(), 0);
      }
    }
  }
View Full Code Here

TOP

Related Classes of com.alibaba.wasp.fserver.redo.MemRedoLog

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.