Class PluginAwareIpdRegistry
java.lang.Object
com.atlassian.diagnostics.ipd.api.registry.AbstractIpdMeterRegistry
com.atlassian.diagnostics.internal.ipd.IpdMeterRegistry
com.atlassian.diagnostics.internal.ipd.PluginAwareIpdRegistry
- All Implemented Interfaces:
IpdRegistry
Implementation created by
DefaultPluginIpdFactory that wraps an existing IpdMeterRegistry for a specific plugin.
Assures that meters registered by the plugin are removed when the plugin is disabled.- Since:
- 5.0.0
-
Field Summary
Fields inherited from class com.atlassian.diagnostics.ipd.api.registry.AbstractIpdMeterRegistry
meterConfigurations, meters -
Constructor Summary
ConstructorsConstructorDescriptionPluginAwareIpdRegistry(String pluginName, IpdMeterRegistry delegate, MeterConfigurations pluginMeterConfigurations) -
Method Summary
Methods inherited from class com.atlassian.diagnostics.internal.ipd.IpdMeterRegistry
counter, custom, custom, getMeterConfigurations, getMetersStorage, stats, statsCopy, valueMethods inherited from class com.atlassian.diagnostics.ipd.api.registry.AbstractIpdMeterRegistry
get, getMeterKeys, getMeterKeys, getMeters, getMeters, register, remove, removeAll, removeAll, removeAllWithAnyTag, removeIf, removeIf, retainIf, unregisterAllDisabledMetricsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.diagnostics.ipd.api.registry.IpdRegistry
addStats, addStats, incrementCounter, setValue, valueAndStats
-
Constructor Details
-
PluginAwareIpdRegistry
public PluginAwareIpdRegistry(String pluginName, IpdMeterRegistry delegate, MeterConfigurations pluginMeterConfigurations)
-
-
Method Details
-
preDestroy
@PreDestroy public void preDestroy() -
shutdown
public void shutdown()- Specified by:
shutdownin interfaceIpdRegistry- Overrides:
shutdownin classAbstractIpdMeterRegistry
-