| Modifier and Type | Method and Description |
|---|---|
default boolean |
MutableLong.compareAndSet(long expectedValue,
long newValue)
This is not meant to be atomic; it's semantically equivalent to:
|
long |
MutableLong.get() |
boolean |
DistributedLock.isHeldByCaller() |
void |
MutableLong.set(long value) |
boolean |
DistributedLock.tryLock() |
default boolean |
DistributedLock.tryLock(long timeout,
TimeUnit unit) |
void |
DistributedLock.unlock() |
Copyright © 2022 The Apache Software Foundation. All rights reserved.