@MXBean public interface TransactionIndexMXBean
TransactionIndex
. Statistics
provided here are generally only useful for diagnostic purposes.Modifier and Type | Field and Description |
---|---|
static String |
MXBEAN_NAME |
Modifier and Type | Method and Description |
---|---|
void |
cleanup()
Remove all obsolete long-running and aborted
TransactionStatus instances. |
int |
getAbortedCount() |
long |
getActiveTransactionCeiling()
Timestamp recorded at the start of the last invocation of
updateActiveTransactionCache . |
long |
getActiveTransactionCount()
Count of active transactions measured when
updateActiveTransactionCache was last called. |
long |
getActiveTransactionFloor()
Timestamp known to be less than or equal to the start timestamp of any
currently executing transaction.
|
int |
getCurrentCount() |
int |
getDroppedCount() |
int |
getFreeCount() |
int |
getLongRunningCount() |
void |
updateActiveTransactionCache()
Refresh the ActiveTransactionCache.
|
static final String MXBEAN_NAME
long getActiveTransactionFloor()
updateActiveTransactionCache
and is therefore less the
timestamp of any currently executing transaction at the instant that
method was called. It is guaranteed that no running transaction has a
lower start timestamp.long getActiveTransactionCeiling()
updateActiveTransactionCache
. Any transaction newer than
this ceiling is currently considered active even if it has already
committed or aborted.hasConcurrentTransaction
returns accurate information.long getActiveTransactionCount()
updateActiveTransactionCache
was last called. The count may
have changed to due new transactions starting or existing transactions
committing since that invocation, and therefore the value returned by
this method is an estimate.void updateActiveTransactionCache()
void cleanup()
TransactionStatus
instances. This is useful to generate a
canonical state for unit tests. Cleanup logic is normally invoke
automatically within a running system..int getCurrentCount()
int getLongRunningCount()
int getAbortedCount()
int getFreeCount()
int getDroppedCount()
Copyright © 2025 Open Identity Platform Community. All rights reserved.