public class StatisticalLoggingSessionEventListener extends BaseSessionEventListener
Constructor and Description |
---|
StatisticalLoggingSessionEventListener() |
Modifier and Type | Method and Description |
---|---|
void |
cacheGetEnd(boolean hit) |
void |
cacheGetStart() |
void |
cachePutEnd() |
void |
cachePutStart() |
void |
end() |
void |
flushEnd(int numberOfEntities,
int numberOfCollections) |
void |
flushStart() |
static boolean |
isLoggingEnabled()
Used by SettingsFactory (in conjunction with stats being enabled) to determine whether to apply this listener
|
void |
jdbcConnectionAcquisitionEnd() |
void |
jdbcConnectionAcquisitionStart() |
void |
jdbcConnectionReleaseEnd() |
void |
jdbcConnectionReleaseStart() |
void |
jdbcExecuteBatchEnd() |
void |
jdbcExecuteBatchStart() |
void |
jdbcExecuteStatementEnd() |
void |
jdbcExecuteStatementStart() |
void |
jdbcPrepareStatementEnd() |
void |
jdbcPrepareStatementStart() |
void |
partialFlushEnd(int numberOfEntities,
int numberOfCollections) |
void |
partialFlushStart() |
dirtyCalculationEnd, dirtyCalculationStart, transactionCompletion
public StatisticalLoggingSessionEventListener()
public static boolean isLoggingEnabled()
true
if logging is enabled for this listener.public void jdbcConnectionAcquisitionStart()
jdbcConnectionAcquisitionStart
in interface SessionEventListener
jdbcConnectionAcquisitionStart
in class BaseSessionEventListener
public void jdbcConnectionAcquisitionEnd()
jdbcConnectionAcquisitionEnd
in interface SessionEventListener
jdbcConnectionAcquisitionEnd
in class BaseSessionEventListener
public void jdbcConnectionReleaseStart()
jdbcConnectionReleaseStart
in interface SessionEventListener
jdbcConnectionReleaseStart
in class BaseSessionEventListener
public void jdbcConnectionReleaseEnd()
jdbcConnectionReleaseEnd
in interface SessionEventListener
jdbcConnectionReleaseEnd
in class BaseSessionEventListener
public void jdbcPrepareStatementStart()
jdbcPrepareStatementStart
in interface SessionEventListener
jdbcPrepareStatementStart
in class BaseSessionEventListener
public void jdbcPrepareStatementEnd()
jdbcPrepareStatementEnd
in interface SessionEventListener
jdbcPrepareStatementEnd
in class BaseSessionEventListener
public void jdbcExecuteStatementStart()
jdbcExecuteStatementStart
in interface SessionEventListener
jdbcExecuteStatementStart
in class BaseSessionEventListener
public void jdbcExecuteStatementEnd()
jdbcExecuteStatementEnd
in interface SessionEventListener
jdbcExecuteStatementEnd
in class BaseSessionEventListener
public void jdbcExecuteBatchStart()
jdbcExecuteBatchStart
in interface SessionEventListener
jdbcExecuteBatchStart
in class BaseSessionEventListener
public void jdbcExecuteBatchEnd()
jdbcExecuteBatchEnd
in interface SessionEventListener
jdbcExecuteBatchEnd
in class BaseSessionEventListener
public void cachePutStart()
cachePutStart
in interface SessionEventListener
cachePutStart
in class BaseSessionEventListener
public void cachePutEnd()
cachePutEnd
in interface SessionEventListener
cachePutEnd
in class BaseSessionEventListener
public void cacheGetStart()
cacheGetStart
in interface SessionEventListener
cacheGetStart
in class BaseSessionEventListener
public void cacheGetEnd(boolean hit)
cacheGetEnd
in interface SessionEventListener
cacheGetEnd
in class BaseSessionEventListener
public void flushStart()
flushStart
in interface SessionEventListener
flushStart
in class BaseSessionEventListener
public void flushEnd(int numberOfEntities, int numberOfCollections)
flushEnd
in interface SessionEventListener
flushEnd
in class BaseSessionEventListener
public void partialFlushStart()
partialFlushStart
in interface SessionEventListener
partialFlushStart
in class BaseSessionEventListener
public void partialFlushEnd(int numberOfEntities, int numberOfCollections)
partialFlushEnd
in interface SessionEventListener
partialFlushEnd
in class BaseSessionEventListener
public void end()
end
in interface SessionEventListener
end
in class BaseSessionEventListener
Copyright © 2001-2017 Red Hat, Inc. All Rights Reserved.