this.graph = graph;
this.snapCount = snapCount;
this.snapPeriod = snapPeriod;
ProfileConsumer consumer = collector.getConsumer(CONS_NAME);
ProfileLevel level = ProfileLevel.MEDIUM;
ProfileDataType type = ProfileDataType.AGGREGATE;
processingTime = (AggregateProfileCounter)
consumer.createCounter("processingTime", type, level);
updateCount = (AggregateProfileCounter)
consumer.createCounter("updateCount", type, level);