public class LockStats
extends java.lang.Object
Modifier and Type | Method | Description |
---|---|---|
int |
getCurMaxId() |
The current maximum unused locker ID.
|
int |
getHashLen() |
Maximum length of a lock hash bucket.
|
int |
getId() |
The last allocated locker ID.
|
int |
getInitlockers() |
The initial number of lockers allocated in lock table.
|
int |
getInitlocks() |
The initial number of locks allocated in the lock table.
|
int |
getInitobjects() |
The initial number of lock objects allocated in lock table.
|
int |
getLockers() |
The current number of lockers allocated in lock table.
|
long |
getLockersNowait() |
The number of requests to allocate or deallocate a locker for which the
thread of control did not wait.
|
long |
getLockersWait() |
The number of requests to allocate or deallocate a locker for which the
thread of control waited.
|
long |
getLockNowait() |
The number of lock requests not immediately available due to conflicts,
for which the thread of control did not wait.
|
int |
getLocks() |
The current number of locks allocated in lock table.
|
long |
getLocksteals() |
The maximum number of locks stolen by an empty partition.
|
int |
getLockTimeout() |
Lock timeout value.
|
long |
getLockWait() |
The number of lock requests not immediately available due to conflicts,
for which the thread of control waited.
|
int |
getMaxHlocks() |
The maximum number of locks in any hash bucket at any one time.
|
int |
getMaxHobjects() |
The maximum number of objects in any hash bucket at any one time.
|
int |
getMaxLockers() |
The maximum number of lockers possible.
|
int |
getMaxLocks() |
The maximum number of locks possible.
|
long |
getMaxLsteals() |
The maximum number of lock steals for any one partition.
|
int |
getMaxNlockers() |
The maximum number of lockers at any one time.
|
int |
getMaxNlocks() |
The maximum number of locks at any one time.
|
int |
getMaxNobjects() |
The maximum number of lock objects at any one time.
|
int |
getMaxObjects() |
The maximum number of lock objects possible.
|
long |
getMaxOsteals() |
The maximum number of object steals for any one partition.
|
int |
getNobjects() |
The number of current lock objects.
|
long |
getNumDeadlocks() |
The number of deadlocks.
|
long |
getNumDowngrade() |
The total number of locks downgraded.
|
int |
getNumLockers() |
The number of current lockers.
|
long |
getNumLockersHit() |
The number of hits in the thread locker cache.
|
long |
getNumLockersReused() |
Total number of lockers reused.
|
int |
getNumLocks() |
The number of current locks.
|
long |
getNumLockTimeouts() |
The number of lock requests that have timed out.
|
int |
getNumModes() |
The number of lock modes.
|
long |
getNumReleases() |
The total number of locks released.
|
long |
getNumRequests() |
The total number of locks requested.
|
long |
getNumTxnTimeouts() |
The number of transactions that have timed out.
|
long |
getNumUpgrade() |
The total number of locks upgraded.
|
int |
getObjects() |
The current number of lock objects allocated in lock table.
|
long |
getObjectsteals() |
The maximum number of objects stolen by an empty partition.
|
long |
getObjsNowait() |
The number of requests to allocate or deallocate an object for which the
thread of control did not wait.
|
long |
getObjsWait() |
The number of requests to allocate or deallocate an object for which the
thread of control waited.
|
int |
getPartitions() |
The number of lock table partitions.
|
long |
getPartMaxNowait() |
The number of times that a thread of control was able to obtain any one
lock partition mutex without waiting.
|
long |
getPartMaxWait() |
The maximum number of times that a thread of control was forced to wait
before obtaining any one lock partition mutex.
|
long |
getPartNowait() |
The number of times that a thread of control was able to obtain a lock
partition mutex without waiting.
|
long |
getPartWait() |
The number of times that a thread of control was forced to wait before
obtaining a lock partition mutex.
|
long |
getRegionNowait() |
The number of times that a thread of control was able to obtain the lock
region mutex without waiting.
|
long |
getRegionWait() |
The number of times that a thread of control was forced to wait before
obtaining the lock region mutex.
|
long |
getRegSize() |
The size of the lock region.
|
int |
getTableSize() |
The size of object hash table.
|
int |
getTxnTimeout() |
Transaction timeout value.
|
java.lang.String |
toString() |
For convenience, the LockStats class has a toString method
that lists all the data fields.
|
public int getId()
public int getCurMaxId()
public int getInitlocks()
public int getInitlockers()
public int getInitobjects()
public int getLocks()
public int getLockers()
public int getObjects()
public int getMaxLocks()
public int getMaxLockers()
public int getMaxObjects()
public int getPartitions()
public int getTableSize()
public int getNumModes()
public int getNumLockers()
public int getNumLocks()
public int getMaxNlocks()
public int getMaxHlocks()
public long getLocksteals()
public long getMaxLsteals()
public int getMaxNlockers()
public int getNobjects()
public int getMaxNobjects()
public int getMaxHobjects()
public long getObjectsteals()
public long getMaxOsteals()
public long getNumRequests()
public long getNumReleases()
public long getNumUpgrade()
public long getNumDowngrade()
public long getLockWait()
public long getLockNowait()
public long getNumDeadlocks()
public int getLockTimeout()
public long getNumLockTimeouts()
public int getTxnTimeout()
public long getNumTxnTimeouts()
public long getPartWait()
public long getPartNowait()
public long getPartMaxWait()
public long getPartMaxNowait()
public long getObjsWait()
public long getObjsNowait()
public long getLockersWait()
public long getLockersNowait()
public long getRegionWait()
public long getRegionNowait()
public long getNumLockersHit()
public long getNumLockersReused()
public int getHashLen()
public long getRegSize()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright (c) 1996, 2020 Oracle and/or its affiliates. All rights reserved.