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 TypeMethodDescriptionvoid
completeCacheGetEvent
(DiagnosticEvent cacheGetEvent, SharedSessionContractImplementor session, Region region, boolean hit) void
completeCacheGetEvent
(DiagnosticEvent cacheGetEvent, SharedSessionContractImplementor session, Region region, CollectionPersister persister, boolean hit) void
completeCacheGetEvent
(DiagnosticEvent cacheGetEvent, SharedSessionContractImplementor session, Region region, EntityPersister persister, boolean isNaturalKey, boolean hit) void
completeCachePutEvent
(DiagnosticEvent cachePutEvent, SharedSessionContractImplementor session, CachedDomainDataAccess cachedDomainDataAccess, CollectionPersister persister, boolean cacheContentChanged, EventMonitor.CacheActionDescription description) void
completeCachePutEvent
(DiagnosticEvent cachePutEvent, SharedSessionContractImplementor session, CachedDomainDataAccess cachedDomainDataAccess, EntityPersister persister, boolean cacheContentChanged, boolean isNatualId, EventMonitor.CacheActionDescription description) void
completeCachePutEvent
(DiagnosticEvent cachePutEvent, SharedSessionContractImplementor session, CachedDomainDataAccess cachedDomainDataAccess, EntityPersister persister, boolean cacheContentChanged, EventMonitor.CacheActionDescription description) void
completeCachePutEvent
(DiagnosticEvent cachePutEvent, SharedSessionContractImplementor session, Region region, boolean cacheContentChanged, EventMonitor.CacheActionDescription description) void
completeCollectionRecreateEvent
(DiagnosticEvent event, Object id, String role, boolean success, SharedSessionContractImplementor session) void
completeCollectionRemoveEvent
(DiagnosticEvent event, Object id, String role, boolean success, SharedSessionContractImplementor session) void
completeCollectionUpdateEvent
(DiagnosticEvent event, Object id, String role, boolean success, SharedSessionContractImplementor session) void
completeDirtyCalculationEvent
(DiagnosticEvent dirtyCalculationEvent, SharedSessionContractImplementor session, EntityPersister persister, EntityEntry entry, int[] dirtyProperties) void
completeEntityDeleteEvent
(DiagnosticEvent event, Object id, String entityName, boolean success, SharedSessionContractImplementor session) void
completeEntityInsertEvent
(DiagnosticEvent event, Object id, String entityName, boolean success, SharedSessionContractImplementor session) void
completeEntityLockEvent
(DiagnosticEvent event, Object id, String entityName, LockMode lockMode, boolean success, SharedSessionContractImplementor session) void
completeEntityUpdateEvent
(DiagnosticEvent event, Object id, String entityName, boolean success, SharedSessionContractImplementor session) void
completeEntityUpsertEvent
(DiagnosticEvent event, Object id, String entityName, boolean success, SharedSessionContractImplementor session) void
completeFlushEvent
(DiagnosticEvent flushEvent, FlushEvent event) void
completeFlushEvent
(DiagnosticEvent flushEvent, FlushEvent event, boolean autoFlush) void
completeJdbcBatchExecutionEvent
(DiagnosticEvent jdbcBatchExecutionEvent, String statementSql) void
completeJdbcConnectionAcquisitionEvent
(DiagnosticEvent jdbcConnectionAcquisitionEvent, SharedSessionContractImplementor session, Object tenantId) void
completeJdbcConnectionReleaseEvent
(DiagnosticEvent jdbcConnectionReleaseEvent, SharedSessionContractImplementor session, Object tenantId) void
completeJdbcPreparedStatementCreationEvent
(DiagnosticEvent jdbcPreparedStatementCreation, String preparedStatementSql) void
completeJdbcPreparedStatementExecutionEvent
(DiagnosticEvent jdbcPreparedStatementExecutionEvent, String preparedStatementSql) void
completePartialFlushEvent
(DiagnosticEvent flushEvent, AutoFlushEvent event) void
completePrePartialFlush
(DiagnosticEvent prePartialFlush, SharedSessionContractImplementor session) void
completeSessionClosedEvent
(DiagnosticEvent sessionClosedEvent, SharedSessionContractImplementor session) void
completeSessionOpenEvent
(DiagnosticEvent sessionOpenEvent, SharedSessionContractImplementor session)
-
Constructor Details
-
EmptyEventMonitor
public EmptyEventMonitor()
-
-
Method Details
-
beginSessionOpenEvent
- Specified by:
beginSessionOpenEvent
in interfaceEventMonitor
-
beginSessionClosedEvent
- Specified by:
beginSessionClosedEvent
in interfaceEventMonitor
-
beginJdbcConnectionAcquisitionEvent
- Specified by:
beginJdbcConnectionAcquisitionEvent
in interfaceEventMonitor
-
beginJdbcConnectionReleaseEvent
- Specified by:
beginJdbcConnectionReleaseEvent
in interfaceEventMonitor
-
beginJdbcPreparedStatementCreationEvent
- Specified by:
beginJdbcPreparedStatementCreationEvent
in interfaceEventMonitor
-
completeJdbcPreparedStatementCreationEvent
public void completeJdbcPreparedStatementCreationEvent(DiagnosticEvent jdbcPreparedStatementCreation, String preparedStatementSql) - Specified by:
completeJdbcPreparedStatementCreationEvent
in interfaceEventMonitor
-
beginJdbcPreparedStatementExecutionEvent
- Specified by:
beginJdbcPreparedStatementExecutionEvent
in interfaceEventMonitor
-
completeJdbcPreparedStatementExecutionEvent
public void completeJdbcPreparedStatementExecutionEvent(DiagnosticEvent jdbcPreparedStatementExecutionEvent, String preparedStatementSql) - Specified by:
completeJdbcPreparedStatementExecutionEvent
in interfaceEventMonitor
-
beginJdbcBatchExecutionEvent
- Specified by:
beginJdbcBatchExecutionEvent
in interfaceEventMonitor
-
completeJdbcBatchExecutionEvent
public void completeJdbcBatchExecutionEvent(DiagnosticEvent jdbcBatchExecutionEvent, String statementSql) - Specified by:
completeJdbcBatchExecutionEvent
in interfaceEventMonitor
-
beginCachePutEvent
- Specified by:
beginCachePutEvent
in interfaceEventMonitor
-
beginCacheGetEvent
- Specified by:
beginCacheGetEvent
in interfaceEventMonitor
-
beginFlushEvent
- Specified by:
beginFlushEvent
in interfaceEventMonitor
-
completeFlushEvent
- Specified by:
completeFlushEvent
in interfaceEventMonitor
-
completeFlushEvent
- Specified by:
completeFlushEvent
in interfaceEventMonitor
-
beginPartialFlushEvent
- Specified by:
beginPartialFlushEvent
in interfaceEventMonitor
-
completePartialFlushEvent
- Specified by:
completePartialFlushEvent
in interfaceEventMonitor
-
beginDirtyCalculationEvent
- Specified by:
beginDirtyCalculationEvent
in interfaceEventMonitor
-
beginPrePartialFlush
- Specified by:
beginPrePartialFlush
in interfaceEventMonitor
-
beginEntityInsertEvent
- Specified by:
beginEntityInsertEvent
in interfaceEventMonitor
-
beginEntityUpdateEvent
- Specified by:
beginEntityUpdateEvent
in interfaceEventMonitor
-
beginEntityUpsertEvent
- Specified by:
beginEntityUpsertEvent
in interfaceEventMonitor
-
beginEntityDeleteEvent
- Specified by:
beginEntityDeleteEvent
in interfaceEventMonitor
-
beginEntityLockEvent
- Specified by:
beginEntityLockEvent
in interfaceEventMonitor
-
beginCollectionRecreateEvent
- Specified by:
beginCollectionRecreateEvent
in interfaceEventMonitor
-
beginCollectionUpdateEvent
- Specified by:
beginCollectionUpdateEvent
in interfaceEventMonitor
-
beginCollectionRemoveEvent
- Specified by:
beginCollectionRemoveEvent
in interfaceEventMonitor
-