| org.hibernate.stat.StatisticsImplementor | 
   Known Indirect Subclasses
  
 | 
Statistics SPI for the Hibernate core. This is essentially the "statistic collector" API, its the contract called to collect various stats.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Callback about a session being closed. 
  
   | |||||||||||
Callback about a statement being closed. 
  
   | |||||||||||
Callback about a connection being obtained from  
  
  ConnectionProvider
 | |||||||||||
Callback about an entity being deleted. 
  
   | |||||||||||
Callback about a transaction completing. 
  
   | |||||||||||
Callback to indicate a collection being fetched. 
  
   | |||||||||||
Callback about an entity being fetched. 
  
   | |||||||||||
Callback about a flush occurring
 
  
   | |||||||||||
Callback about an entity being inserted 
  
   | |||||||||||
Callback about a collection loading. 
  
   | |||||||||||
Callback about an entity being loaded. 
  
   | |||||||||||
Callback about a session being opened. 
  
   | |||||||||||
Callback about an optimistic lock failure on an entity 
  
   | |||||||||||
Callback about a statement being prepared. 
  
   | |||||||||||
Callback indicating a get from the query cache resulted in a hit. 
  
   | |||||||||||
Callback indicating a get from the query cache resulted in a miss. 
  
   | |||||||||||
Callback indicating a put into the query cache. 
  
   | |||||||||||
Callback indicating execution of a sql/hql query 
  
   | |||||||||||
Callback indicating a collection recreation (full deletion + full (re-)insertion). 
  
   | |||||||||||
Callback indicating a collection removal. 
  
   | |||||||||||
Callback indicating a get from second level cache resulted in a hit. 
  
   | |||||||||||
Callback indicating a get from second level cache resulted in a miss. 
  
   | |||||||||||
Callback indicating a put into second level cache. 
  
   | |||||||||||
Callback indicating a collection was updated. 
  
   | |||||||||||
Callback about an entity being updated. 
  
   | |||||||||||
Callback about a session being closed.
Callback about a statement being closed.
Callback about an entity being deleted.
| entityName | The name of the entity deleted. | 
|---|
Callback about a transaction completing.
| success | Was the transaction successful? | 
|---|
Callback to indicate a collection being fetched.  Unlike loadCollection(String), this indicates a separate
 query was needed.
| role | The collection role. | 
|---|
Callback about an entity being fetched.  Unlike loadEntity(String) this indicates a separate query being
 performed.
| entityName | The name of the entity fetched. | 
|---|
Callback about a flush occurring
Callback about an entity being inserted
| entityName | The name of the entity inserted | 
|---|
Callback about a collection loading. This might indicate a lazy collection or an initialized collection being created, but in either case it means without a separate SQL query being needed.
| role | The collection role. | 
|---|
Callback about an entity being loaded. This might indicate a proxy or a fully initialized entity, but in either case it means without a separate SQL query being needed.
| entityName | The name of the entity loaded. | 
|---|
Callback about a session being opened.
Callback about an optimistic lock failure on an entity
| entityName | The name of the entity. | 
|---|
Callback about a statement being prepared.
Callback indicating a get from the query cache resulted in a hit.
| hql | The query | 
|---|---|
| regionName | The name of the cache region | 
Callback indicating a get from the query cache resulted in a miss.
| hql | The query | 
|---|---|
| regionName | The name of the cache region | 
Callback indicating a put into the query cache.
| hql | The query | 
|---|---|
| regionName | The cache region | 
Callback indicating execution of a sql/hql query
| hql | The query | 
|---|---|
| rows | Number of rows returned | 
| time | execution time | 
Callback indicating a collection recreation (full deletion + full (re-)insertion).
| role | The collection role. | 
|---|
Callback indicating a collection removal.
| role | The collection role. | 
|---|
Callback indicating a get from second level cache resulted in a hit.
| regionName | The name of the cache region | 
|---|
Callback indicating a get from second level cache resulted in a miss.
| regionName | The name of the cache region | 
|---|
Callback indicating a put into second level cache.
| regionName | The name of the cache region | 
|---|
Callback indicating a collection was updated.
| role | The collection role. | 
|---|
Callback about an entity being updated.
| entityName | The name of the entity updated. | 
|---|