public class AtomicStats
extends java.lang.Object
| Constructor | Description |
|---|---|
AtomicStats() |
| Modifier and Type | Method | Description |
|---|---|---|
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
|
public int getOptimisticTries()
public int getPromotedLockTries()
public long getOptimisticTimeMs()
public long getPromotedTimeMs()
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.