Package com.atlassian.bamboo.plan.cache
Class OptimisticLockingVersionMissesCounter
- java.lang.Object
-
- com.atlassian.bamboo.plan.cache.OptimisticLockingVersionMissesCounter
-
public final class OptimisticLockingVersionMissesCounter extends Object
A counter for optimistic locking version misses encountered during cache access.- Since:
- 9.5
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static @NotNull OptimisticLockingVersionMissesCounter
create()
long
getAndReset()
void
increment()
-
-
-
Method Detail
-
increment
public void increment()
-
getAndReset
public long getAndReset()
-
create
@NotNull public static @NotNull OptimisticLockingVersionMissesCounter create()
-
-