org.hibernate.stat
Interface StatisticsImplementor

All Known Implementing Classes:
StatisticsImpl

public interface StatisticsImplementor

Statistics SPI for the Hibernate core

Author:
Emmanuel Bernard

Method Summary
 void closeSession()
           
 void closeStatement()
           
 void connect()
           
 void deleteEntity(String entityName, long time)
           
 void endTransaction(boolean success)
           
 void fetchCollection(String role, long time)
           
 void fetchEntity(String entityName, long time)
           
 void flush()
           
 void insertEntity(String entityName, long time)
           
 void loadCollection(String role, long time)
           
 void loadEntity(String entityName, long time)
           
 void openSession()
           
 void optimisticFailure(String entityName)
           
 void prepareStatement()
           
 void queryCacheHit(String hql, String regionName)
           
 void queryCacheMiss(String hql, String regionName)
           
 void queryCachePut(String hql, String regionName)
           
 void queryExecuted(String hql, int rows, long time)
           
 void recreateCollection(String role, long time)
           
 void removeCollection(String role, long time)
           
 void secondLevelCacheHit(String regionName)
           
 void secondLevelCacheMiss(String regionName)
           
 void secondLevelCachePut(String regionName)
           
 void updateCollection(String role, long time)
           
 void updateEntity(String entityName, long time)
           
 

Method Detail

openSession

public void openSession()

closeSession

public void closeSession()

flush

public void flush()

connect

public void connect()

loadEntity

public void loadEntity(String entityName,
                       long time)

fetchEntity

public void fetchEntity(String entityName,
                        long time)

updateEntity

public void updateEntity(String entityName,
                         long time)

insertEntity

public void insertEntity(String entityName,
                         long time)

deleteEntity

public void deleteEntity(String entityName,
                         long time)

loadCollection

public void loadCollection(String role,
                           long time)

fetchCollection

public void fetchCollection(String role,
                            long time)

updateCollection

public void updateCollection(String role,
                             long time)

recreateCollection

public void recreateCollection(String role,
                               long time)

removeCollection

public void removeCollection(String role,
                             long time)

secondLevelCachePut

public void secondLevelCachePut(String regionName)

secondLevelCacheHit

public void secondLevelCacheHit(String regionName)

secondLevelCacheMiss

public void secondLevelCacheMiss(String regionName)

queryExecuted

public void queryExecuted(String hql,
                          int rows,
                          long time)

queryCacheHit

public void queryCacheHit(String hql,
                          String regionName)

queryCacheMiss

public void queryCacheMiss(String hql,
                           String regionName)

queryCachePut

public void queryCachePut(String hql,
                          String regionName)

endTransaction

public void endTransaction(boolean success)

closeStatement

public void closeStatement()

prepareStatement

public void prepareStatement()

optimisticFailure

public void optimisticFailure(String entityName)