akka.cluster

JmxMetricsCollector

class JmxMetricsCollector extends MetricsCollector

Loads JVM and system metrics through JMX monitoring beans.

Linear Supertypes
MetricsCollector, Closeable, AnyRef, Any
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. JmxMetricsCollector
  2. MetricsCollector
  3. Closeable
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by any2stringfmt
  3. by any2ArrowAssoc
  4. by any2Ensuring
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new JmxMetricsCollector(system: ActorSystem)

    This constructor is used when creating an instance from configured FQCN

  2. new JmxMetricsCollector(address: Address, decayFactor: Double)

    address

    The akka.actor.Address of the node being sampled

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def +(other: String): String

    Implicit information
    This member is added by an implicit conversion from JmxMetricsCollector to StringAdd performed by method any2stringadd in scala.Predef.
    Definition Classes
    StringAdd
  5. def ->[B](y: B): (JmxMetricsCollector, B)

    Implicit information
    This member is added by an implicit conversion from JmxMetricsCollector to ArrowAssoc[JmxMetricsCollector] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

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

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def close(): Unit

    Definition Classes
    JmxMetricsCollector → Closeable
  11. def ensuring(cond: (JmxMetricsCollector) ⇒ Boolean, msg: ⇒ Any): JmxMetricsCollector

    Implicit information
    This member is added by an implicit conversion from JmxMetricsCollector to Ensuring[JmxMetricsCollector] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: (JmxMetricsCollector) ⇒ Boolean): JmxMetricsCollector

    Implicit information
    This member is added by an implicit conversion from JmxMetricsCollector to Ensuring[JmxMetricsCollector] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean, msg: ⇒ Any): JmxMetricsCollector

    Implicit information
    This member is added by an implicit conversion from JmxMetricsCollector to Ensuring[JmxMetricsCollector] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. def ensuring(cond: Boolean): JmxMetricsCollector

    Implicit information
    This member is added by an implicit conversion from JmxMetricsCollector to Ensuring[JmxMetricsCollector] performed by method any2Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  15. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  17. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  18. def formatted(fmtstr: String): String

    Implicit information
    This member is added by an implicit conversion from JmxMetricsCollector to StringFormat performed by method any2stringfmt in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  19. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  20. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  21. def heapCommitted(heap: MemoryUsage): Option[Metric]

    (JMX) Returns the current sum of heap memory guaranteed to be available to the JVM from all heap memory pools (in bytes).

    (JMX) Returns the current sum of heap memory guaranteed to be available to the JVM from all heap memory pools (in bytes). Creates a new instance each time.

  22. def heapMax(heap: MemoryUsage): Option[Metric]

    (JMX) Returns the maximum amount of memory (in bytes) that can be used for JVM memory management.

    (JMX) Returns the maximum amount of memory (in bytes) that can be used for JVM memory management. If not defined the metrics value is None, i.e. never negative. Creates a new instance each time.

  23. def heapMemoryUsage: MemoryUsage

    Current heap to be passed in to heapUsed, heapCommitted and heapMax

  24. def heapUsed(heap: MemoryUsage): Option[Metric]

    (JMX) Returns the current sum of heap memory used from all heap memory pools (in bytes).

    (JMX) Returns the current sum of heap memory used from all heap memory pools (in bytes). Creates a new instance each time.

  25. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  26. def metrics: Set[Metric]

  27. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  30. def processors: Option[Metric]

    (JMX) Returns the number of available processors Creates a new instance each time.

  31. def sample(): NodeMetrics

    Samples and collects new data points.

    Samples and collects new data points. Creates a new instance each time.

    Definition Classes
    JmxMetricsCollectorMetricsCollector
  32. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  33. def systemLoadAverage: Option[Metric]

    JMX Returns the OS-specific average load on the CPUs in the system, for the past 1 minute.

    JMX Returns the OS-specific average load on the CPUs in the system, for the past 1 minute. On some systems the JMX OS system load average may not be available, in which case a -1 is returned from JMX, and None is returned from this method. Creates a new instance each time.

  34. def toString(): String

    Definition Classes
    AnyRef → Any
  35. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. def [B](y: B): (JmxMetricsCollector, B)

    Implicit information
    This member is added by an implicit conversion from JmxMetricsCollector to ArrowAssoc[JmxMetricsCollector] performed by method any2ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Shadowed Implicit Value Members

  1. val self: Any

    Implicit information
    This member is added by an implicit conversion from JmxMetricsCollector to StringAdd performed by method any2stringadd in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (jmxMetricsCollector: StringAdd).self
    Definition Classes
    StringAdd
  2. val self: Any

    Implicit information
    This member is added by an implicit conversion from JmxMetricsCollector to StringFormat performed by method any2stringfmt in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (jmxMetricsCollector: StringFormat).self
    Definition Classes
    StringFormat

Deprecated Value Members

  1. def x: JmxMetricsCollector

    Implicit information
    This member is added by an implicit conversion from JmxMetricsCollector to ArrowAssoc[JmxMetricsCollector] performed by method any2ArrowAssoc in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (jmxMetricsCollector: ArrowAssoc[JmxMetricsCollector]).x
    Definition Classes
    ArrowAssoc
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use leftOfArrow instead

  2. def x: JmxMetricsCollector

    Implicit information
    This member is added by an implicit conversion from JmxMetricsCollector to Ensuring[JmxMetricsCollector] performed by method any2Ensuring in scala.Predef.
    Shadowing
    This implicitly inherited member is ambiguous. One or more implicitly inherited members have similar signatures, so calling this member may produce an ambiguous implicit conversion compiler error.
    To access this member you can use a type ascription:
    (jmxMetricsCollector: Ensuring[JmxMetricsCollector]).x
    Definition Classes
    Ensuring
    Annotations
    @deprecated
    Deprecated

    (Since version 2.10.0) Use resultOfEnsuring instead

Inherited from MetricsCollector

Inherited from Closeable

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from JmxMetricsCollector to StringAdd

Inherited by implicit conversion any2stringfmt from JmxMetricsCollector to StringFormat

Inherited by implicit conversion any2ArrowAssoc from JmxMetricsCollector to ArrowAssoc[JmxMetricsCollector]

Inherited by implicit conversion any2Ensuring from JmxMetricsCollector to Ensuring[JmxMetricsCollector]

Ungrouped