|
Berkeley DB Java Edition version 5.0.34 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sleepycat.je.LockStats
Environment.getStats(StatsConfig)
.
public class LockStats
Lock statistics for a database environment.
Note that some of the lock statistics may be expensive to obtain because
the lock table is unavailable to other operations while the statistics are
gathered. These expensive statistics are only provided if Environment.getLockStats
is
called with a StatsConfig parameter that has been configured for "slow"
stats.
Method Summary | |
---|---|
int |
getNAcquiresNoWaiters()
Deprecated. Number of acquires of lock table latch with no contention. |
int |
getNAcquiresNoWaitSuccessful()
Deprecated. Number of times acquireNoWait() was successfully called for the lock table latch. |
int |
getNAcquiresNoWaitUnSuccessful()
Deprecated. Number of times acquireNoWait() was unsuccessfully called for the lock table latch. |
int |
getNAcquiresSelfOwned()
Deprecated. Number of acquires of lock table latch when it was already owned by the caller. |
int |
getNAcquiresWithContention()
Deprecated. Number of acquires of lock table latch when it was already owned by another thread. |
int |
getNOwners()
Deprecated. Total lock owners in lock table. |
int |
getNReadLocks()
Deprecated. Total read locks currently held. |
int |
getNReleases()
Deprecated. Number of releases of the lock table latch. |
long |
getNRequests()
Deprecated. Total number of lock requests to date. |
int |
getNTotalLocks()
Deprecated. Total locks currently in lock table. |
int |
getNWaiters()
Deprecated. Total transactions waiting for locks. |
long |
getNWaits()
Deprecated. Total number of lock waits to date. |
int |
getNWriteLocks()
Deprecated. Total write locks currently held. |
String |
toString()
Deprecated. For convenience, LockTable.toString will display all stats in an easily readable format. |
String |
toStringVerbose()
Deprecated. Like #toString, display all stats. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public int getNOwners()
Environment.getLockStats
is
called in "slow" mode.
public int getNReadLocks()
Environment.getLockStats
is
called in "slow" mode.
public int getNTotalLocks()
Environment.getLockStats
is
called in "slow" mode.
public int getNWaiters()
Environment.getLockStats
is
called in "slow" mode.
public int getNWriteLocks()
Environment.getLockStats
is
called in "slow" mode.
public long getNRequests()
public long getNWaits()
public int getNAcquiresNoWaiters()
public int getNAcquiresSelfOwned()
public int getNAcquiresWithContention()
public int getNAcquiresNoWaitSuccessful()
public int getNAcquiresNoWaitUnSuccessful()
public int getNReleases()
public String toString()
toString
in class Object
public String toStringVerbose()
|
Berkeley DB Java Edition version 5.0.34 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |