org.neo4j.server.statistic
Class StatisticCollector

java.lang.Object
  extended by org.neo4j.server.statistic.StatisticCollector

public class StatisticCollector
extends Object

statistics-collector will keep n-statistic records

Since:
31.05.11 20:23
Author:
tbaum

Constructor Summary
StatisticCollector()
           
 
Method Summary
 StatisticRecord createSnapshot()
           
 StatisticRecord currentSnapshot()
           
 void update(double time, long size)
          add one datapoint for statistics
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatisticCollector

public StatisticCollector()
Method Detail

currentSnapshot

public StatisticRecord currentSnapshot()

createSnapshot

public StatisticRecord createSnapshot()

update

public void update(double time,
                   long size)
add one datapoint for statistics

Parameters:
time - duration of the request
size - size in bytes of the request


Copyright © 2002-2014 The Neo4j Graph Database Project. All Rights Reserved.