org.geotools.caching.grid.spatialindex
Class GridSpatialIndexStatistics

java.lang.Object
  extended by org.geotools.caching.spatialindex.SpatialIndexStatistics
      extended by org.geotools.caching.grid.spatialindex.GridSpatialIndexStatistics
All Implemented Interfaces:
Statistics

public class GridSpatialIndexStatistics
extends SpatialIndexStatistics

Class to track statistics about a grid spatial index.

In addition to all statistics tracked by the default spatial index statistics this also tracks the number of evictions.


Constructor Summary
GridSpatialIndexStatistics()
           
 
Method Summary
 void addToEvictionCounter(int count)
           
 int getEvictions()
           
 void reset()
           
 java.lang.String toString()
           
 
Methods inherited from class org.geotools.caching.spatialindex.SpatialIndexStatistics
addToDataCounter, addToNodesCounter, addToReadsCounter, addToWritesCounter, getNumberOfData, getNumberOfNodes, getReads, getWrites
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GridSpatialIndexStatistics

public GridSpatialIndexStatistics()
Method Detail

addToEvictionCounter

public void addToEvictionCounter(int count)

getEvictions

public int getEvictions()

reset

public void reset()
Overrides:
reset in class SpatialIndexStatistics

toString

public java.lang.String toString()
Overrides:
toString in class SpatialIndexStatistics


Copyright © 1996-2010 Geotools. All Rights Reserved.