public class AdminUtil extends Object
| Constructor and Description |
|---|
AdminUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
freezeAll()
freezeAll
Freeze all transactional activity.
|
static long |
getAbortedTransactionCount()
Return the count of rolledback transactions.
|
static long |
getActiveTransactionCount()
Return the number of transactions that are active currently.
|
static Enumeration |
getAllTIDs()
Returned enumeration of globaltids of existing transactions.
|
static Collection |
getAllTransactions()
Returns the collection of existing coordinators.
|
static long |
getCommitedTransactionCount()
Return the committed transactions count.
|
static long |
getPendingTransactionCount()
Return the count of transactions that are prepared - but not completed.
|
static long |
getRecoveryAbortedTransactionCount()
Return the number of transactions that were rolled back as part of the
recovery process.
|
static long |
getRecoveryCommitedTransactionCount()
Return the count of transactions that were commited as part of the
recovery process.
|
static long |
getSamplingDuration()
Returns the duration for which the last sampling window was open, in milliseconds.
|
static long |
getSamplingEndTime()
Returns the time in millisecond , since the begining of time, when the
sampling window was closed.
|
static long |
getSamplingStartTime()
Returns the time in milliseconds, since the begining of time, when the
sampling window was started.
|
static void |
incrementRecoveryAbortedTransactionCount()
Increments the number of transactions that were rolled back as part
of the recovery process.
|
static void |
incrementRecoveryCommitedTransactionCount()
Increments the number of transactions that were commited as part of
the recovery process.
|
static boolean |
isFrozenAll()
isFrozenAll
Get the current state.
|
static void |
startSampling()
startSampling
Start the sampling window.
|
static void |
stopSampling()
stopSampling
Stop sampling the statitics values.
|
static void |
unfreezeAll()
unfreezeAll
Unfreeze all transactional activity frozen by a freezeAll call.
|
public static void freezeAll()
public static void unfreezeAll()
public static boolean isFrozenAll()
public static void startSampling()
stopSamplingpublic static void stopSampling()
startSamplingpublic static void incrementRecoveryCommitedTransactionCount()
public static void incrementRecoveryAbortedTransactionCount()
public static long getCommitedTransactionCount()
public static long getAbortedTransactionCount()
public static long getActiveTransactionCount()
public static long getPendingTransactionCount()
public static long getRecoveryCommitedTransactionCount()
public static long getRecoveryAbortedTransactionCount()
public static long getSamplingStartTime()
public static long getSamplingEndTime()
public static long getSamplingDuration()
public static Collection getAllTransactions()
public static Enumeration getAllTIDs()
Copyright © 2019. All rights reserved.