Class EmptyEventMonitor
java.lang.Object
org.hibernate.event.monitor.internal.EmptyEventMonitor
- All Implemented Interfaces:
EventMonitor
An
EventMonitor that ignores all events.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.hibernate.event.monitor.spi.EventMonitor
EventMonitor.CacheActionDescription -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcompleteCacheGetEvent(DiagnosticEvent cacheGetEvent, SharedSessionContractImplementor session, Region region, boolean hit) voidcompleteCacheGetEvent(DiagnosticEvent cacheGetEvent, SharedSessionContractImplementor session, Region region, CollectionPersister persister, boolean hit) voidcompleteCacheGetEvent(DiagnosticEvent cacheGetEvent, SharedSessionContractImplementor session, Region region, EntityPersister persister, boolean isNaturalKey, boolean hit) voidcompleteCachePutEvent(DiagnosticEvent cachePutEvent, SharedSessionContractImplementor session, CachedDomainDataAccess cachedDomainDataAccess, CollectionPersister persister, boolean cacheContentChanged, EventMonitor.CacheActionDescription description) voidcompleteCachePutEvent(DiagnosticEvent cachePutEvent, SharedSessionContractImplementor session, CachedDomainDataAccess cachedDomainDataAccess, EntityPersister persister, boolean cacheContentChanged, boolean isNatualId, EventMonitor.CacheActionDescription description) voidcompleteCachePutEvent(DiagnosticEvent cachePutEvent, SharedSessionContractImplementor session, CachedDomainDataAccess cachedDomainDataAccess, EntityPersister persister, boolean cacheContentChanged, EventMonitor.CacheActionDescription description) voidcompleteCachePutEvent(DiagnosticEvent cachePutEvent, SharedSessionContractImplementor session, Region region, boolean cacheContentChanged, EventMonitor.CacheActionDescription description) voidcompleteCollectionRecreateEvent(DiagnosticEvent event, Object id, String role, boolean success, SharedSessionContractImplementor session) voidcompleteCollectionRemoveEvent(DiagnosticEvent event, Object id, String role, boolean success, SharedSessionContractImplementor session) voidcompleteCollectionUpdateEvent(DiagnosticEvent event, Object id, String role, boolean success, SharedSessionContractImplementor session) voidcompleteDirtyCalculationEvent(DiagnosticEvent dirtyCalculationEvent, SharedSessionContractImplementor session, EntityPersister persister, EntityEntry entry, int[] dirtyProperties) voidcompleteEntityDeleteEvent(DiagnosticEvent event, Object id, String entityName, boolean success, SharedSessionContractImplementor session) voidcompleteEntityInsertEvent(DiagnosticEvent event, Object id, String entityName, boolean success, SharedSessionContractImplementor session) voidcompleteEntityLockEvent(DiagnosticEvent event, Object id, String entityName, LockMode lockMode, boolean success, SharedSessionContractImplementor session) voidcompleteEntityUpdateEvent(DiagnosticEvent event, Object id, String entityName, boolean success, SharedSessionContractImplementor session) voidcompleteEntityUpsertEvent(DiagnosticEvent event, Object id, String entityName, boolean success, SharedSessionContractImplementor session) voidcompleteFlushEvent(DiagnosticEvent flushEvent, FlushEvent event) voidcompleteFlushEvent(DiagnosticEvent flushEvent, FlushEvent event, boolean autoFlush) voidcompleteJdbcBatchExecutionEvent(DiagnosticEvent jdbcBatchExecutionEvent, String statementSql) voidcompleteJdbcConnectionAcquisitionEvent(DiagnosticEvent jdbcConnectionAcquisitionEvent, SharedSessionContractImplementor session, Object tenantId) voidcompleteJdbcConnectionReleaseEvent(DiagnosticEvent jdbcConnectionReleaseEvent, SharedSessionContractImplementor session, Object tenantId) voidcompleteJdbcPreparedStatementCreationEvent(DiagnosticEvent jdbcPreparedStatementCreation, String preparedStatementSql) voidcompleteJdbcPreparedStatementExecutionEvent(DiagnosticEvent jdbcPreparedStatementExecutionEvent, String preparedStatementSql) voidcompletePartialFlushEvent(DiagnosticEvent flushEvent, AutoFlushEvent event) voidcompletePrePartialFlush(DiagnosticEvent prePartialFlush, SharedSessionContractImplementor session) voidcompleteSessionClosedEvent(DiagnosticEvent sessionClosedEvent, SharedSessionContractImplementor session) voidcompleteSessionOpenEvent(DiagnosticEvent sessionOpenEvent, SharedSessionContractImplementor session)
-
Constructor Details
-
EmptyEventMonitor
public EmptyEventMonitor()
-
-
Method Details
-
beginSessionOpenEvent
- Specified by:
beginSessionOpenEventin interfaceEventMonitor
-
beginSessionClosedEvent
- Specified by:
beginSessionClosedEventin interfaceEventMonitor
-
beginJdbcConnectionAcquisitionEvent
- Specified by:
beginJdbcConnectionAcquisitionEventin interfaceEventMonitor
-
beginJdbcConnectionReleaseEvent
- Specified by:
beginJdbcConnectionReleaseEventin interfaceEventMonitor
-
beginJdbcPreparedStatementCreationEvent
- Specified by:
beginJdbcPreparedStatementCreationEventin interfaceEventMonitor
-
completeJdbcPreparedStatementCreationEvent
public void completeJdbcPreparedStatementCreationEvent(DiagnosticEvent jdbcPreparedStatementCreation, String preparedStatementSql) - Specified by:
completeJdbcPreparedStatementCreationEventin interfaceEventMonitor
-
beginJdbcPreparedStatementExecutionEvent
- Specified by:
beginJdbcPreparedStatementExecutionEventin interfaceEventMonitor
-
completeJdbcPreparedStatementExecutionEvent
public void completeJdbcPreparedStatementExecutionEvent(DiagnosticEvent jdbcPreparedStatementExecutionEvent, String preparedStatementSql) - Specified by:
completeJdbcPreparedStatementExecutionEventin interfaceEventMonitor
-
beginJdbcBatchExecutionEvent
- Specified by:
beginJdbcBatchExecutionEventin interfaceEventMonitor
-
completeJdbcBatchExecutionEvent
public void completeJdbcBatchExecutionEvent(DiagnosticEvent jdbcBatchExecutionEvent, String statementSql) - Specified by:
completeJdbcBatchExecutionEventin interfaceEventMonitor
-
beginCachePutEvent
- Specified by:
beginCachePutEventin interfaceEventMonitor
-
beginCacheGetEvent
- Specified by:
beginCacheGetEventin interfaceEventMonitor
-
beginFlushEvent
- Specified by:
beginFlushEventin interfaceEventMonitor
-
completeFlushEvent
- Specified by:
completeFlushEventin interfaceEventMonitor
-
completeFlushEvent
- Specified by:
completeFlushEventin interfaceEventMonitor
-
beginPartialFlushEvent
- Specified by:
beginPartialFlushEventin interfaceEventMonitor
-
completePartialFlushEvent
- Specified by:
completePartialFlushEventin interfaceEventMonitor
-
beginDirtyCalculationEvent
- Specified by:
beginDirtyCalculationEventin interfaceEventMonitor
-
beginPrePartialFlush
- Specified by:
beginPrePartialFlushin interfaceEventMonitor
-
beginEntityInsertEvent
- Specified by:
beginEntityInsertEventin interfaceEventMonitor
-
beginEntityUpdateEvent
- Specified by:
beginEntityUpdateEventin interfaceEventMonitor
-
beginEntityUpsertEvent
- Specified by:
beginEntityUpsertEventin interfaceEventMonitor
-
beginEntityDeleteEvent
- Specified by:
beginEntityDeleteEventin interfaceEventMonitor
-
beginEntityLockEvent
- Specified by:
beginEntityLockEventin interfaceEventMonitor
-
beginCollectionRecreateEvent
- Specified by:
beginCollectionRecreateEventin interfaceEventMonitor
-
beginCollectionUpdateEvent
- Specified by:
beginCollectionUpdateEventin interfaceEventMonitor
-
beginCollectionRemoveEvent
- Specified by:
beginCollectionRemoveEventin interfaceEventMonitor
-