Package com.senseidb.indexing.activity

Examples of com.senseidb.indexing.activity.CompositeActivityValues.update()


    int recordsCount = 1000000;
    int numOfEvents = 10;
    for (int i = 0; i < numOfEvents; i++) {
      Clock.setPredefinedTimeInMinutes(i);
      for (int j = 0; j < recordsCount; j ++) {
        activityValues.update((long)j, String.valueOf(i * recordsCount + j), jsonActivityUpdate);
        if (j % 100000 == 0) {
          System.out.println("Inserted next 100k events j = " + j);
        }
      }
      System.out.println("Updated event = " + i);
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.