Package org.nuxeo.runtime.metrics
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 Summary
Fields Modifier and Type Field Description protected booleanisEnabledClass<? extends MetricsReporter>klassStringnameMap<String,String>optionsprotected longpollInterval-
Fields inherited from interface org.nuxeo.runtime.model.Descriptor
UNIQUE_DESCRIPTOR_ID
-
-
Constructor Summary
Constructors Constructor Description MetricsReporterDescriptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetId()The descriptor id, descriptors with same id are merged.Map<String,String>getOptions()longgetPollInterval()booleanisEnabled()MetricsReporternewInstance()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.nuxeo.runtime.model.Descriptor
doesRemove, merge
-
-
-
-
Method Detail
-
getPollInterval
public long getPollInterval()
-
getId
public String getId()
Description copied from interface:DescriptorThe 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:
getIdin interfaceDescriptor
-
isEnabled
public boolean isEnabled()
-
newInstance
public MetricsReporter newInstance()
-
-