|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.jts.CosTransactions.AdminUtil
public class AdminUtil
AdminUtil - Utility class for monitoring and administering jts. This class is used by admin utilities for performing monitoring and administration.
| Constructor Summary | |
|---|---|
AdminUtil()
|
|
| Method Summary | |
|---|---|
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 java.util.Enumeration |
getAllTIDs()
Returned enumeration of globaltids of existing transactions. |
static java.util.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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AdminUtil()
| Method Detail |
|---|
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 java.util.Collection getAllTransactions()
public static java.util.Enumeration getAllTIDs()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||