| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public void | collectionCacheHit(NavigableRole
The collection's "path" collectionRole, String The name of the cache region regionName)Callback indicating a get from second level cache resulted in a hit. |
| public void | collectionCacheMiss(NavigableRole
The collection's "path" collectionRole, String The name of the cache region regionName)Callback indicating a get from second level cache resulted in a miss. |
| public void | collectionCachePut(NavigableRole
The collection's "path" collectionRole, String The name of the cache region regionName)Callback indicating a put into second level cache. |
| public void | connect()
Callback about a connection being obtained from |
| public void | deleteEntity(String
The name of the entity deleted. entityName)Callback about an entity being deleted. |
| public void | endTransaction(boolean
Was the transaction successful? success)Callback about a transaction completing. |
| public void | entityCacheHit(NavigableRole entityName, String regionName)
Callback indicating a get from second level cache resulted in a hit. |
| public void | entityCacheMiss(NavigableRole entityName, String regionName)
Callback indicating a get from second level cache resulted in a miss. |
| public void | entityCachePut(NavigableRole entityName, String regionName)
Callback indicating a put into second level cache. |
| public void | |
| public void | fetchEntity(String
The name of the entity fetched. entityName)Callback about an entity being fetched. |
| public void | |
| public void | insertEntity(String
The name of the entity inserted entityName)Callback about an entity being inserted |
| public void | |
| public void | |
| public void | naturalIdCacheHit(NavigableRole rootEntityName, String regionName)
Callback indicating a get from natural id cache resulted in a hit. |
| public void | naturalIdCacheMiss(NavigableRole rootEntityName, String regionName)
Callback indicating a get from natural id cache resulted in a miss. |
| public void | naturalIdCachePut(NavigableRole rootEntityName, String regionName)
Callback indicating a put into natural id cache. |
| public void | naturalIdQueryExecuted(String rootEntityName, long executionTime)
Callback indicating execution of a natural id query |
| public void | |
| public void | optimisticFailure(String
The name of the entity. entityName)Callback about an optimistic lock failure on an entity |
| public void | |
| public void | queryCacheHit(String
The query hql, String The name of the cache region regionName)Callback indicating a get from the query cache resulted in a hit. |
| public void | queryCacheMiss(String
The query hql, String The name of the cache region regionName)Callback indicating a get from the query cache resulted in a miss. |
| public void | queryCachePut(String
The query hql, String The cache region regionName)Callback indicating a put into the query cache. |
| public default void | queryCompiled(String
The query hql, long execution time microseconds)Callback indicating compilation of a sql/hql query |
| public void | queryExecuted(String
The query hql, int Number of rows returned rows, long execution time time)Callback indicating execution of a sql/hql query |
| public default void | queryPlanCacheHit(String
The query query)Callback indicating a get from the query plan cache resulted in a hit. |
| public default void | queryPlanCacheMiss(String
The query query)Callback indicating a get from the query plan cache resulted in a miss. |
| public void | recreateCollection(String
The collection role. role)Callback indicating a collection recreation (full deletion + full (re-)insertion). |
| public void | |
| public void | |
| public void | updateEntity(String
The name of the entity updated. entityName)Callback about an entity being updated. |
| public void | |
| public void | |
| public void |
| closeSession | back to summary |
|---|---|
| public void closeSession() Callback about a session being closed. | |
| closeStatement | back to summary |
|---|---|
| public void closeStatement() Callback about a statement being closed. | |
| collectionCacheHit | back to summary |
|---|---|
| public void collectionCacheHit(NavigableRole collectionRole, String regionName) Callback indicating a get from second level cache resulted in a hit.
| |
| collectionCacheMiss | back to summary |
|---|---|
| public void collectionCacheMiss(NavigableRole collectionRole, String regionName) Callback indicating a get from second level cache resulted in a miss.
| |
| collectionCachePut | back to summary |
|---|---|
| public void collectionCachePut(NavigableRole collectionRole, String regionName) Callback indicating a put into second level cache.
| |
| connect | back to summary |
|---|---|
| public void connect() Callback about a connection being obtained from | |
| deleteEntity | back to summary |
|---|---|
| public void deleteEntity(String entityName) Callback about an entity being deleted.
| |
| endTransaction | back to summary |
|---|---|
| public void endTransaction(boolean success) Callback about a transaction completing.
| |
| entityCacheHit | back to summary |
|---|---|
| public void entityCacheHit(NavigableRole entityName, String regionName) Callback indicating a get from second level cache resulted in a hit. API Note `entityName` should be the root entity name | |
| entityCacheMiss | back to summary |
|---|---|
| public void entityCacheMiss(NavigableRole entityName, String regionName) Callback indicating a get from second level cache resulted in a miss. API Note `entityName` should be the root entity name | |
| entityCachePut | back to summary |
|---|---|
| public void entityCachePut(NavigableRole entityName, String regionName) Callback indicating a put into second level cache. API Note `entityName` should be the root entity name | |
| fetchCollection | back to summary |
|---|---|
| public void fetchCollection(String role) Callback to indicate a collection being fetched. Unlike
| |
| fetchEntity | back to summary |
|---|---|
| public void fetchEntity(String entityName) Callback about an entity being fetched. Unlike
| |
| flush | back to summary |
|---|---|
| public void flush() Callback about a flush occurring | |
| insertEntity | back to summary |
|---|---|
| public void insertEntity(String entityName) Callback about an entity being inserted
| |
| loadCollection | back to summary |
|---|---|
| public void loadCollection(String role) 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.
| |
| loadEntity | back to summary |
|---|---|
| public void loadEntity(String entityName) 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.
| |
| naturalIdCacheHit | back to summary |
|---|---|
| public void naturalIdCacheHit(NavigableRole rootEntityName, String regionName) Callback indicating a get from natural id cache resulted in a hit. | |
| naturalIdCacheMiss | back to summary |
|---|---|
| public void naturalIdCacheMiss(NavigableRole rootEntityName, String regionName) Callback indicating a get from natural id cache resulted in a miss. | |
| naturalIdCachePut | back to summary |
|---|---|
| public void naturalIdCachePut(NavigableRole rootEntityName, String regionName) Callback indicating a put into natural id cache. | |
| naturalIdQueryExecuted | back to summary |
|---|---|
| public void naturalIdQueryExecuted(String rootEntityName, long executionTime) Callback indicating execution of a natural id query | |
| openSession | back to summary |
|---|---|
| public void openSession() Callback about a session being opened. | |
| optimisticFailure | back to summary |
|---|---|
| public void optimisticFailure(String entityName) Callback about an optimistic lock failure on an entity
| |
| prepareStatement | back to summary |
|---|---|
| public void prepareStatement() Callback about a statement being prepared. | |
| queryCacheHit | back to summary |
|---|---|
| public void queryCacheHit(String hql, String regionName) Callback indicating a get from the query cache resulted in a hit. | |
| queryCacheMiss | back to summary |
|---|---|
| public void queryCacheMiss(String hql, String regionName) Callback indicating a get from the query cache resulted in a miss. | |
| queryCachePut | back to summary |
|---|---|
| public void queryCachePut(String hql, String regionName) Callback indicating a put into the query cache. | |
| queryCompiled | back to summary |
|---|---|
| public default void queryCompiled(String hql, long microseconds) Callback indicating compilation of a sql/hql query
| |
| queryExecuted | back to summary |
|---|---|
| public void queryExecuted(String hql, int rows, long time) Callback indicating execution of a sql/hql query
| |
| queryPlanCacheHit | back to summary |
|---|---|
| public default void queryPlanCacheHit(String query) Callback indicating a get from the query plan cache resulted in a hit.
| |
| queryPlanCacheMiss | back to summary |
|---|---|
| public default void queryPlanCacheMiss(String query) Callback indicating a get from the query plan cache resulted in a miss.
| |
| recreateCollection | back to summary |
|---|---|
| public void recreateCollection(String role) Callback indicating a collection recreation (full deletion + full (re-)insertion).
| |
| removeCollection | back to summary |
|---|---|
| public void removeCollection(String role) Callback indicating a collection removal.
| |
| updateCollection | back to summary |
|---|---|
| public void updateCollection(String role) Callback indicating a collection was updated.
| |
| updateEntity | back to summary |
|---|---|
| public void updateEntity(String entityName) Callback about an entity being updated.
| |
| updateTimestampsCacheHit | back to summary |
|---|---|
| public void updateTimestampsCacheHit() Callback indicating a hit to the timestamp cache | |
| updateTimestampsCacheMiss | back to summary |
|---|---|
| public void updateTimestampsCacheMiss() Callback indicating a miss to the timestamp cache | |
| updateTimestampsCachePut | back to summary |
|---|---|
| public void updateTimestampsCachePut() Callback indicating a put to the timestamp cache | |