|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.curator.framework.recipes.atomic.AtomicStats
public class AtomicStats
Debugging stats about operations
| Constructor Summary | |
|---|---|
AtomicStats()
|
|
| Method Summary | |
|---|---|
long |
getOptimisticTimeMs()
Returns the time spent trying the operation with optimistic locks |
int |
getOptimisticTries()
Returns the number of optimistic locks used to perform the operation |
int |
getPromotedLockTries()
Returns the number of mutex locks used to perform the operation |
long |
getPromotedTimeMs()
Returns the time spent trying the operation with mutex locks |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AtomicStats()
| Method Detail |
|---|
public int getOptimisticTries()
public int getPromotedLockTries()
public long getOptimisticTimeMs()
public long getPromotedTimeMs()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||