implicit final class VertxCounterOps extends AnyVal
- Alphabetic
- By Inheritance
- VertxCounterOps
- AnyVal
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new VertxCounterOps(target: Counter)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- Any
-
final
def
##(): Int
- Definition Classes
- Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- Any
-
def
addAndGetL(value: Long): Task[Long]
Add the value to the counter atomically and return the new count
Add the value to the counter atomically and return the new count
- value
the value to add
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
compareAndSetL(expected: Long, value: Long): Task[Boolean]
Set the counter to the specified value only if the current value is the expectec value.
Set the counter to the specified value only if the current value is the expectec value. This happens atomically.
- expected
the expected value
- value
the new value
-
def
decrementAndGetL(): Task[Long]
Decrement the counter atomically and return the new count
-
def
getAndAddL(value: Long): Task[Long]
Add the value to the counter atomically and return the value before the add
Add the value to the counter atomically and return the value before the add
- value
the value to add
-
def
getAndIncrementL(): Task[Long]
Increment the counter atomically and return the value before the increment.
-
def
getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
-
def
getL(): Task[Long]
Get the current value of the counter
-
def
incrementAndGetL(): Task[Long]
Increment the counter atomically and return the new count
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val target: Counter
-
def
toString(): String
- Definition Classes
- Any