Class

scribe.handler

AtomicLongExtras

Related Doc: package handler

Permalink

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)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    Any
  3. def ++: Long

    Permalink

    Increments and returns the new value

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

    Permalink

    Adds the value and returns the new value

  5. def --: Long

    Permalink

    Decrements and returns the new value

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

    Permalink

    Subtracts the value and returns the new value

  7. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    Any
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def decrementIfGreaterThan(min: Long): Boolean

    Permalink

    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]

    Permalink
    Definition Classes
    AnyVal → Any
  11. def incrementIfLessThan(max: Int): Boolean

    Permalink

    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

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

    Permalink

    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

    Permalink
  15. def toString(): String

    Permalink
    Definition Classes
    Any
  16. val value: AtomicLong

    Permalink

Inherited from AnyVal

Inherited from Any

Ungrouped