Examples of syncWithPersistentVersion()


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

        }
      }
      System.out.println("Updated event = " + i);
    }
    System.out.println("insertTime = " + (System.currentTimeMillis() - insertTime));
    activityValues.syncWithPersistentVersion(String.valueOf((numOfEvents - 1) * recordsCount + recordsCount - 1));
    System.out.println("persistentTime = " + (System.currentTimeMillis() - insertTime));
    assertEquals(numOfEvents, timeAggregatedActivityValues.getValuesMap().get("5m").fieldValues[50000]);
    assertEquals(numOfEvents, timeAggregatedActivityValues.getValuesMap().get("10m").fieldValues[50000]);
    assertEquals(numOfEvents, timeAggregatedActivityValues.getValuesMap().get("10m").fieldValues[90000]);
    long updateTime = System.currentTimeMillis();
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.