c

scribe.handler

AtomicLongExtras

final class AtomicLongExtras extends AnyVal

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

Instance Constructors

  1. new AtomicLongExtras(value: AtomicLong)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. def ++: Long

    Increments and returns the new value

  4. def +=(value: Long): Long

    Adds the value and returns the new value

  5. def --: Long

    Decrements and returns the new value

  6. def -=(value: Long): Long

    Subtracts the value and returns the new value

  7. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def decrementIfGreaterThan(min: Long): Boolean

    Decrements the value if the current value is greater than the max value supplied.

    Decrements the value if the current value is greater than the max value supplied.

    This method is thread-safe without locking.

  10. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  11. def incrementIfLessThan(max: Int): Boolean

    Increments the value if the current value is less than the max value supplied.

    Increments the value if the current value is less than the max value supplied.

    This method is thread-safe without locking.

  12. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  13. final def modify(f: (Long) ⇒ Option[Long]): Boolean

    Modifies the value atomicly without locking if the resulting value of the function is Some.

    Modifies the value atomicly without locking if the resulting value of the function is Some.

    Annotations
    @tailrec()
  14. def setIfCondition(condition: (Long) ⇒ Boolean, value: Long): Boolean
  15. def toString(): String
    Definition Classes
    Any
  16. val value: AtomicLong

Inherited from AnyVal

Inherited from Any

Ungrouped