Class MetricsReporterDescriptor

java.lang.Object
org.nuxeo.runtime.metrics.MetricsReporterDescriptor
All Implemented Interfaces:
Descriptor

public class MetricsReporterDescriptor extends Object implements Descriptor
Since:
11.1
  • Field Details

    • isEnabled

      protected boolean isEnabled
    • name

      public String name
    • klass

      public Class<? extends MetricsReporter> klass
    • pollInterval

      protected long pollInterval
    • options

      public Map<String,String> options
  • Constructor Details

    • MetricsReporterDescriptor

      public MetricsReporterDescriptor()
  • Method Details

    • getPollInterval

      public long getPollInterval()
    • getId

      public String getId()
      Description copied from interface: Descriptor
      The descriptor id, descriptors with same id are merged.

      To forbid multiple descriptors use UNIQUE_DESCRIPTOR_ID.

      To forbid merge use a unique value, non-overriden toString() for exemple.

      Specified by:
      getId in interface Descriptor
    • isEnabled

      public boolean isEnabled()
    • getOptions

      public Map<String,String> getOptions()
    • newInstance

      public MetricsReporter newInstance()