Package org.apache.helix

Examples of org.apache.helix.GroupCommit


{
  // @Test
  public void testGroupCommit() throws InterruptedException
  {
    final BaseDataAccessor<ZNRecord> accessor = new Mocks.MockBaseDataAccessor();
    final GroupCommit commit = new GroupCommit();
    ExecutorService newFixedThreadPool = Executors.newFixedThreadPool(400);
    for (int i = 0; i < 2400; i++)
    {
      Runnable runnable = new MyClass(accessor, commit, i);
      newFixedThreadPool.submit(runnable);
View Full Code Here


public class TestGroupCommit {
  // @Test
  public void testGroupCommit() throws InterruptedException {
    final BaseDataAccessor<ZNRecord> accessor = new Mocks.MockBaseDataAccessor();
    final GroupCommit commit = new GroupCommit();
    ExecutorService newFixedThreadPool = Executors.newFixedThreadPool(400);
    for (int i = 0; i < 2400; i++) {
      Runnable runnable = new MyClass(accessor, commit, i);
      newFixedThreadPool.submit(runnable);
    }
View Full Code Here

TOP

Related Classes of org.apache.helix.GroupCommit

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.