KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > hibernate > stat > StatisticsImplementor


1 //$Id: StatisticsImplementor.java,v 1.6 2005/04/25 07:33:13 oneovthafew Exp $
2
package org.hibernate.stat;
3
4 /**
5  * Statistics SPI for the Hibernate core
6  *
7  * @author Emmanuel Bernard
8  */

9 public interface StatisticsImplementor {
10     public void openSession();
11     public void closeSession();
12     public void flush();
13     public void connect();
14     public void loadEntity(String JavaDoc entityName);
15     public void fetchEntity(String JavaDoc entityName);
16     public void updateEntity(String JavaDoc entityName);
17     public void insertEntity(String JavaDoc entityName);
18     public void deleteEntity(String JavaDoc entityName);
19     public void loadCollection(String JavaDoc role);
20     public void fetchCollection(String JavaDoc role);
21     public void updateCollection(String JavaDoc role);
22     public void recreateCollection(String JavaDoc role);
23     public void removeCollection(String JavaDoc role);
24     public void secondLevelCachePut(String JavaDoc regionName);
25     public void secondLevelCacheHit(String JavaDoc regionName);
26     public void secondLevelCacheMiss(String JavaDoc regionName);
27     public void queryExecuted(String JavaDoc hql, int rows, long time);
28     public void queryCacheHit(String JavaDoc hql, String JavaDoc regionName);
29     public void queryCacheMiss(String JavaDoc hql, String JavaDoc regionName);
30     public void queryCachePut(String JavaDoc hql, String JavaDoc regionName);
31     public void endTransaction(boolean success);
32     public void closeStatement();
33     public void prepareStatement();
34 }
Popular Tags