Class

org.hammerlab.spark.test

AtomicLongAccumulator

Related Doc: package test

Permalink

case class AtomicLongAccumulator(initialValue: Long = 0) extends AccumulatorV2[Long, Long] with Product with Serializable

Thread-safe version of org.apache.spark.util.LongAccumulator, suitable for use as a static value in tests.

See https://issues.apache.org/jira/browse/SPARK-21425.

Linear Supertypes
Product, Equals, AccumulatorV2[Long, Long], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AtomicLongAccumulator
  2. Product
  3. Equals
  4. AccumulatorV2
  5. Serializable
  6. Serializable
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AtomicLongAccumulator(initialValue: Long = 0)

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def add(v: Long): Unit

    Permalink
    Definition Classes
    AtomicLongAccumulator → AccumulatorV2
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def copy(): AccumulatorV2[Long, Long]

    Permalink
    Definition Classes
    AtomicLongAccumulator → AccumulatorV2
  8. def copyAndReset(): AccumulatorV2[Long, Long]

    Permalink
    Definition Classes
    AccumulatorV2
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def id: Long

    Permalink
    Definition Classes
    AccumulatorV2
  13. val initialValue: Long

    Permalink
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. final def isRegistered: Boolean

    Permalink
    Definition Classes
    AccumulatorV2
  16. def isZero: Boolean

    Permalink
    Definition Classes
    AtomicLongAccumulator → AccumulatorV2
  17. def merge(other: AccumulatorV2[Long, Long]): Unit

    Permalink
    Definition Classes
    AtomicLongAccumulator → AccumulatorV2
  18. final def name: Option[String]

    Permalink
    Definition Classes
    AccumulatorV2
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. def reset(): Unit

    Permalink
    Definition Classes
    AtomicLongAccumulator → AccumulatorV2
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def toString(): String

    Permalink
    Definition Classes
    AccumulatorV2 → AnyRef → Any
  25. def value: Long

    Permalink
    Definition Classes
    AtomicLongAccumulator → AccumulatorV2
  26. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def writeReplace(): Any

    Permalink
    Attributes
    protected
    Definition Classes
    AccumulatorV2

Inherited from Product

Inherited from Equals

Inherited from AccumulatorV2[Long, Long]

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped