org.hypergraphdb.atom
Class HGStats

java.lang.Object
  extended by org.hypergraphdb.atom.HGStats

public class HGStats
extends java.lang.Object

This is a singleton HyperGraph managed atom that the system uses to collect global statistics about the HyperGraph instance. Such statistics are mainly used during query and storage optimization, and for the management of the lifetime of HGManagedAtom instances.

Author:
Borislav Iordanov

Constructor Summary
HGStats()
           
 
Method Summary
 void atomAccessed()
           
 long getLastAccessTime()
           
 long getRetrievalCount()
           
 void setLastAccessTime(long lastAccessTime)
           
 void setRetrievalCount(long retrievalCount)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HGStats

public HGStats()
Method Detail

atomAccessed

public final void atomAccessed()

getLastAccessTime

public final long getLastAccessTime()

setLastAccessTime

public final void setLastAccessTime(long lastAccessTime)

getRetrievalCount

public final long getRetrievalCount()

setRetrievalCount

public final void setRetrievalCount(long retrievalCount)