Class/Object

colossus.metrics

LocalCollection

Related Docs: object LocalCollection | package metrics

Permalink

class LocalCollection extends Collection[LocalLocality]

A Local collection is designed only to be used inside an actor or otherwise thread-safe environment. Notice that even though the collection we're storing the event collectors is thread-safe, the collectors themselves are not. The collector actor must be the actor receiving events for metrics in the map

note - this is not intended to be directly constructed by users

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. LocalCollection
  2. Collection
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Instance Constructors

  1. new LocalCollection(namespace: MetricAddress = MetricAddress.Root, globalTags: TagMap = TagMap.Empty, intervals: Seq[FiniteDuration] = Nil, metrics: ConcurrentHashMap[MetricAddress, Local[EventCollector]] = ..., parent: Option[LocalCollection] = None)

    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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def attach(producer: MetricProducer): Unit

    Permalink
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val collectorConfig: CollectorConfig

    Permalink
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  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. def getOrAdd[T <: EventCollector, P](_params: P)(implicit arg0: ClassTag[T], arg1: (P) ⇒ MetricParams[T, P], creator: Generator[T, P]): Local[T]

    Permalink
    Definition Classes
    LocalCollectionCollection
  13. val globalTags: TagMap

    Permalink
  14. def handleEvent(event: MetricEvent): EventResult

    Permalink
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. val intervals: Seq[FiniteDuration]

    Permalink
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. val localProducers: ArrayBuffer[MetricProducer]

    Permalink
  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 subCollection(subSpace: MetricAddress = MetricAddress.Root, subTags: TagMap = TagMap.Empty): LocalCollection

    Permalink
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  24. def tick(interval: FiniteDuration): MetricMap

    Permalink

    Ticks all of the metric collectors in this collection and returns their aggregated metric map.

  25. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  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( ... )

Inherited from Collection[LocalLocality]

Inherited from AnyRef

Inherited from Any

Ungrouped