类 StatisticalLoggingSessionEventListener
- java.lang.Object
-
- org.hibernate.BaseSessionEventListener
-
- org.hibernate.engine.internal.StatisticalLoggingSessionEventListener
-
- 所有已实现的接口:
Serializable,SessionEventListener
public class StatisticalLoggingSessionEventListener extends BaseSessionEventListener
- 作者:
- Steve Ebersole
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 StatisticalLoggingSessionEventListener()
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 voidcacheGetEnd(boolean hit)voidcacheGetStart()voidcachePutEnd()voidcachePutStart()voidend()voidflushEnd(int numberOfEntities, int numberOfCollections)voidflushStart()static booleanisLoggingEnabled()Used by SettingsFactory (in conjunction with stats being enabled) to determine whether to apply this listenervoidjdbcConnectionAcquisitionEnd()voidjdbcConnectionAcquisitionStart()voidjdbcConnectionReleaseEnd()voidjdbcConnectionReleaseStart()voidjdbcExecuteBatchEnd()voidjdbcExecuteBatchStart()voidjdbcExecuteStatementEnd()voidjdbcExecuteStatementStart()voidjdbcPrepareStatementEnd()voidjdbcPrepareStatementStart()voidpartialFlushEnd(int numberOfEntities, int numberOfCollections)voidpartialFlushStart()-
从类继承的方法 org.hibernate.BaseSessionEventListener
dirtyCalculationEnd, dirtyCalculationStart, transactionCompletion
-
-
-
-
方法详细资料
-
isLoggingEnabled
public static boolean isLoggingEnabled()
Used by SettingsFactory (in conjunction with stats being enabled) to determine whether to apply this listener- 返回:
trueif logging is enabled for this listener.
-
jdbcConnectionAcquisitionStart
public void jdbcConnectionAcquisitionStart()
-
jdbcConnectionAcquisitionEnd
public void jdbcConnectionAcquisitionEnd()
-
jdbcConnectionReleaseStart
public void jdbcConnectionReleaseStart()
-
jdbcConnectionReleaseEnd
public void jdbcConnectionReleaseEnd()
-
jdbcPrepareStatementStart
public void jdbcPrepareStatementStart()
-
jdbcPrepareStatementEnd
public void jdbcPrepareStatementEnd()
-
jdbcExecuteStatementStart
public void jdbcExecuteStatementStart()
-
jdbcExecuteStatementEnd
public void jdbcExecuteStatementEnd()
-
jdbcExecuteBatchStart
public void jdbcExecuteBatchStart()
-
jdbcExecuteBatchEnd
public void jdbcExecuteBatchEnd()
- 指定者:
jdbcExecuteBatchEnd在接口中SessionEventListener- 覆盖:
jdbcExecuteBatchEnd在类中BaseSessionEventListener
-
cachePutStart
public void cachePutStart()
- 指定者:
cachePutStart在接口中SessionEventListener- 覆盖:
cachePutStart在类中BaseSessionEventListener
-
cachePutEnd
public void cachePutEnd()
- 指定者:
cachePutEnd在接口中SessionEventListener- 覆盖:
cachePutEnd在类中BaseSessionEventListener
-
cacheGetStart
public void cacheGetStart()
- 指定者:
cacheGetStart在接口中SessionEventListener- 覆盖:
cacheGetStart在类中BaseSessionEventListener
-
cacheGetEnd
public void cacheGetEnd(boolean hit)
- 指定者:
cacheGetEnd在接口中SessionEventListener- 覆盖:
cacheGetEnd在类中BaseSessionEventListener
-
flushStart
public void flushStart()
- 指定者:
flushStart在接口中SessionEventListener- 覆盖:
flushStart在类中BaseSessionEventListener
-
flushEnd
public void flushEnd(int numberOfEntities, int numberOfCollections)- 指定者:
flushEnd在接口中SessionEventListener- 覆盖:
flushEnd在类中BaseSessionEventListener
-
partialFlushStart
public void partialFlushStart()
- 指定者:
partialFlushStart在接口中SessionEventListener- 覆盖:
partialFlushStart在类中BaseSessionEventListener
-
partialFlushEnd
public void partialFlushEnd(int numberOfEntities, int numberOfCollections)- 指定者:
partialFlushEnd在接口中SessionEventListener- 覆盖:
partialFlushEnd在类中BaseSessionEventListener
-
end
public void end()
- 指定者:
end在接口中SessionEventListener- 覆盖:
end在类中BaseSessionEventListener
-
-