c

vertices.core

VertxCounterOps

implicit final class VertxCounterOps extends AnyVal

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. VertxCounterOps
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new VertxCounterOps(target: Counter)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. 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

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. 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

  7. def decrementAndGetL(): Task[Long]

    Decrement the counter atomically and return the new count

  8. 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

  9. def getAndIncrementL(): Task[Long]

    Increment the counter atomically and return the value before the increment.

  10. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  11. def getL(): Task[Long]

    Get the current value of the counter

  12. def incrementAndGetL(): Task[Long]

    Increment the counter atomically and return the new count

  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. val target: Counter
  15. def toString(): String
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped