Top Inners Methods
org.hibernate.event.spi

public Interface EventManager

Known Direct Implementers
org.hibernate.event.internal.EmptyEventManager
Annotations
@JavaServiceLoadable
@Incubating
Imports
org.hibernate.Incubating, org.hibernate.cache.spi.Region, org.hibernate.cache.spi.access.CachedDomainDataAccess, org.hibernate.engine.spi.EntityEntry, .SharedSessionContractImplementor, org.hibernate.persister.collection.CollectionPersister, org.hibernate.persister.entity.EntityPersister, org.hibernate.service.JavaServiceLoadable

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static enum

Method Summary

Modifier and TypeMethod and Description
public HibernateMonitoringEvent
public HibernateMonitoringEvent
public HibernateMonitoringEvent
public HibernateMonitoringEvent
public HibernateMonitoringEvent
public HibernateMonitoringEvent
public HibernateMonitoringEvent
public HibernateMonitoringEvent
public HibernateMonitoringEvent
public HibernateMonitoringEvent
public HibernateMonitoringEvent
public HibernateMonitoringEvent
public void
public void
completeCacheGetEvent(HibernateMonitoringEvent cacheGetEvent, SharedSessionContractImplementor session, Region region, EntityPersister persister, boolean isNaturalKey, boolean hit)

public void
public void
completeCachePutEvent(HibernateMonitoringEvent cachePutEvent, SharedSessionContractImplementor session, Region region, boolean cacheContentChanged, EventManager.CacheActionDescription description)

public void
completeCachePutEvent(HibernateMonitoringEvent cachePutEvent, SharedSessionContractImplementor session, CachedDomainDataAccess cachedDomainDataAccess, EntityPersister persister, boolean cacheContentChanged, EventManager.CacheActionDescription description)

public void
completeCachePutEvent(HibernateMonitoringEvent cachePutEvent, SharedSessionContractImplementor session, CachedDomainDataAccess cachedDomainDataAccess, EntityPersister persister, boolean cacheContentChanged, boolean isNatualId, EventManager.CacheActionDescription description)

public void
completeCachePutEvent(HibernateMonitoringEvent cachePutEvent, SharedSessionContractImplementor session, CachedDomainDataAccess cachedDomainDataAccess, CollectionPersister persister, boolean cacheContentChanged, EventManager.CacheActionDescription description)

public void
completeDirtyCalculationEvent(HibernateMonitoringEvent dirtyCalculationEvent, SharedSessionContractImplementor session, EntityPersister persister, EntityEntry entry, int[] dirtyProperties)

public void
public void
completeFlushEvent(HibernateMonitoringEvent flushEvent, FlushEvent event, boolean autoFlush)

public void
completeJdbcBatchExecutionEvent(HibernateMonitoringEvent jdbcBatchExecutionEvent, String statementSql)

public void
public void
public void
completeJdbcPreparedStatementCreationEvent(HibernateMonitoringEvent jdbcPreparedStatementCreation, String preparedStatementSql)

public void
completeJdbcPreparedStatementExecutionEvent(HibernateMonitoringEvent jdbcPreparedStatementExecutionEvent, String preparedStatementSql)

public void
public void
public void

Method Detail

beginCacheGetEventback to summary
public HibernateMonitoringEvent beginCacheGetEvent()
beginCachePutEventback to summary
public HibernateMonitoringEvent beginCachePutEvent()
beginDirtyCalculationEventback to summary
public HibernateMonitoringEvent beginDirtyCalculationEvent()
beginFlushEventback to summary
public HibernateMonitoringEvent beginFlushEvent()
beginJdbcBatchExecutionEventback to summary
public HibernateMonitoringEvent beginJdbcBatchExecutionEvent()
beginJdbcConnectionAcquisitionEventback to summary
public HibernateMonitoringEvent beginJdbcConnectionAcquisitionEvent()
beginJdbcConnectionReleaseEventback to summary
public HibernateMonitoringEvent beginJdbcConnectionReleaseEvent()
beginJdbcPreparedStatementCreationEventback to summary
public HibernateMonitoringEvent beginJdbcPreparedStatementCreationEvent()
beginJdbcPreparedStatementExecutionEventback to summary
public HibernateMonitoringEvent beginJdbcPreparedStatementExecutionEvent()
beginPartialFlushEventback to summary
public HibernateMonitoringEvent beginPartialFlushEvent()
beginSessionClosedEventback to summary
public HibernateMonitoringEvent beginSessionClosedEvent()
beginSessionOpenEventback to summary
public HibernateMonitoringEvent beginSessionOpenEvent()
completeCacheGetEventback to summary
public void completeCacheGetEvent(HibernateMonitoringEvent cacheGetEvent, SharedSessionContractImplementor session, Region region, boolean hit)
completeCacheGetEventback to summary
public void completeCacheGetEvent(HibernateMonitoringEvent cacheGetEvent, SharedSessionContractImplementor session, Region region, EntityPersister persister, boolean isNaturalKey, boolean hit)
completeCacheGetEventback to summary
public void completeCacheGetEvent(HibernateMonitoringEvent cacheGetEvent, SharedSessionContractImplementor session, Region region, CollectionPersister persister, boolean hit)
completeCachePutEventback to summary
public void completeCachePutEvent(HibernateMonitoringEvent cachePutEvent, SharedSessionContractImplementor session, Region region, boolean cacheContentChanged, EventManager.CacheActionDescription description)
completeCachePutEventback to summary
public void completeCachePutEvent(HibernateMonitoringEvent cachePutEvent, SharedSessionContractImplementor session, CachedDomainDataAccess cachedDomainDataAccess, EntityPersister persister, boolean cacheContentChanged, EventManager.CacheActionDescription description)
completeCachePutEventback to summary
public void completeCachePutEvent(HibernateMonitoringEvent cachePutEvent, SharedSessionContractImplementor session, CachedDomainDataAccess cachedDomainDataAccess, EntityPersister persister, boolean cacheContentChanged, boolean isNatualId, EventManager.CacheActionDescription description)
completeCachePutEventback to summary
public void completeCachePutEvent(HibernateMonitoringEvent cachePutEvent, SharedSessionContractImplementor session, CachedDomainDataAccess cachedDomainDataAccess, CollectionPersister persister, boolean cacheContentChanged, EventManager.CacheActionDescription description)
completeDirtyCalculationEventback to summary
public void completeDirtyCalculationEvent(HibernateMonitoringEvent dirtyCalculationEvent, SharedSessionContractImplementor session, EntityPersister persister, EntityEntry entry, int[] dirtyProperties)
completeFlushEventback to summary
public void completeFlushEvent(HibernateMonitoringEvent flushEvent, FlushEvent event)
completeFlushEventback to summary
public void completeFlushEvent(HibernateMonitoringEvent flushEvent, FlushEvent event, boolean autoFlush)
completeJdbcBatchExecutionEventback to summary
public void completeJdbcBatchExecutionEvent(HibernateMonitoringEvent jdbcBatchExecutionEvent, String statementSql)
completeJdbcConnectionAcquisitionEventback to summary
public void completeJdbcConnectionAcquisitionEvent(HibernateMonitoringEvent jdbcConnectionAcquisitionEvent, SharedSessionContractImplementor session, Object tenantId)
completeJdbcConnectionReleaseEventback to summary
public void completeJdbcConnectionReleaseEvent(HibernateMonitoringEvent jdbcConnectionReleaseEvent, SharedSessionContractImplementor session, Object tenantId)
completeJdbcPreparedStatementCreationEventback to summary
public void completeJdbcPreparedStatementCreationEvent(HibernateMonitoringEvent jdbcPreparedStatementCreation, String preparedStatementSql)
completeJdbcPreparedStatementExecutionEventback to summary
public void completeJdbcPreparedStatementExecutionEvent(HibernateMonitoringEvent jdbcPreparedStatementExecutionEvent, String preparedStatementSql)
completePartialFlushEventback to summary
public void completePartialFlushEvent(HibernateMonitoringEvent flushEvent, AutoFlushEvent event)
completeSessionClosedEventback to summary
public void completeSessionClosedEvent(HibernateMonitoringEvent sessionClosedEvent, SharedSessionContractImplementor session)
completeSessionOpenEventback to summary
public void completeSessionOpenEvent(HibernateMonitoringEvent sessionOpenEvent, SharedSessionContractImplementor session)
org.hibernate.event.spi back to summary

public final Enum EventManager.CacheActionDescription

extends Enum<EventManager.CacheActionDescription>
Class Inheritance

Field Summary

Modifier and TypeField and Description
public static final EventManager.CacheActionDescription
public static final EventManager.CacheActionDescription
public static final EventManager.CacheActionDescription
public static final EventManager.CacheActionDescription
public static final EventManager.CacheActionDescription
public static final EventManager.CacheActionDescription
public static final EventManager.CacheActionDescription
private final String
public static final EventManager.CacheActionDescription
public static final EventManager.CacheActionDescription

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public String
public String
toString()

Overrides java.lang.Enum.toString.

Returns the name of this enum constant, as contained in the declaration.
public static EventManager.CacheActionDescription
public static EventManager.CacheActionDescription[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinalvalueOf

Field Detail

COLLECTION_INSERTback to summary
public static final EventManager.CacheActionDescription COLLECTION_INSERT
ENTITY_AFTER_INSERTback to summary
public static final EventManager.CacheActionDescription ENTITY_AFTER_INSERT
ENTITY_AFTER_UPDATEback to summary
public static final EventManager.CacheActionDescription ENTITY_AFTER_UPDATE
ENTITY_INSERTback to summary
public static final EventManager.CacheActionDescription ENTITY_INSERT
ENTITY_LOADback to summary
public static final EventManager.CacheActionDescription ENTITY_LOAD
ENTITY_UPDATEback to summary
public static final EventManager.CacheActionDescription ENTITY_UPDATE
QUERY_RESULTback to summary
public static final EventManager.CacheActionDescription QUERY_RESULT
textback to summary
private final String text
TIMESTAMP_INVALIDATEback to summary
public static final EventManager.CacheActionDescription TIMESTAMP_INVALIDATE
TIMESTAMP_PRE_INVALIDATEback to summary
public static final EventManager.CacheActionDescription TIMESTAMP_PRE_INVALIDATE

Constructor Detail

CacheActionDescriptionback to summary
private CacheActionDescription(String text)

Method Detail

getTextback to summary
public String getText()
toStringback to summary
public String toString()

Overrides java.lang.Enum.toString.

Doc from java.lang.Enum.toString.

Returns the name of this enum constant, as contained in the declaration. This method may be overridden, though it typically isn't necessary or desirable. An enum class should override this method when a more "programmer-friendly" string form exists.

Returns:String

the name of this enum constant

Annotations
@Override
valueOfback to summary
public static EventManager.CacheActionDescription valueOf(String name)
valuesback to summary
public static EventManager.CacheActionDescription[] values()