Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- AbstractIpdMeter - Class in com.atlassian.diagnostics.ipd.api.meters
-
Base class for all IPD meters.
- AbstractIpdMeter(MeterConfig) - Constructor for class com.atlassian.diagnostics.ipd.api.meters.AbstractIpdMeter
- AbstractIpdMeterRegistry - Class in com.atlassian.diagnostics.ipd.api.registry
-
Abstract implementation of
IpdRegistrythat provides common functionality of managing IPD meters. - AbstractIpdMeterRegistry(MeterConfigurations) - Constructor for class com.atlassian.diagnostics.ipd.api.registry.AbstractIpdMeterRegistry
- AbstractIpdMeterRegistry(MeterConfigurations, Map<MeterKey, IpdMeter>) - Constructor for class com.atlassian.diagnostics.ipd.api.registry.AbstractIpdMeterRegistry
- addEnabledCheck(Predicate<MeterConfig>) - Method in interface com.atlassian.diagnostics.ipd.api.meters.config.MeterConfigBuilder
-
Adds a check to the MeterConfigBuilder that will be used to determine if the MeterConfig is enabled.
- addEnabledCheck(Predicate<MeterConfig>) - Method in class com.atlassian.diagnostics.ipd.api.meters.config.MeterConfigBuilderImpl
- addMeterConfig(String, Consumer<MeterConfigBuilder>) - Method in interface com.atlassian.diagnostics.ipd.api.MeterConfigurations
-
Adds a configuration for a specific meter key prefix.
- addMeterConfig(String, Consumer<MeterConfigBuilder>) - Method in class com.atlassian.diagnostics.ipd.api.MeterConfigurationsImpl
- addStats(String, long, MeterTag...) - Method in interface com.atlassian.diagnostics.ipd.api.registry.IpdRegistry
-
Updates stats meter with a given value.
- addStats(String, long, TimeUnit, MeterTag...) - Method in interface com.atlassian.diagnostics.ipd.api.registry.IpdRegistry
-
Updates stats meter with a given value.
B
- buckets(Long...) - Static method in class com.atlassian.diagnostics.ipd.api.meters.custom.type.IpdLongBucketsCounter
- buckets(String...) - Static method in class com.atlassian.diagnostics.ipd.api.meters.custom.type.IpdStringBucketsCounter
- build() - Method in class com.atlassian.diagnostics.ipd.api.jobs.IpdJobRegistration.IpdJobRegistrationBuilder
- build(MeterKey) - Method in class com.atlassian.diagnostics.ipd.api.meters.config.MeterConfigBuilderImpl
- build(MeterKey) - Method in interface com.atlassian.diagnostics.ipd.api.meters.config.ProductMeterConfigBuilder
-
Builds the immutable meter configuration from this builder state and given meter key.
- builder(IpdJob, String) - Static method in class com.atlassian.diagnostics.ipd.api.jobs.IpdJobRegistration
-
Creates a new IpdJobRegistrationBuilder.
C
- CachedIpdState - Class in com.atlassian.diagnostics.ipd.api
-
Cached state of the In Product Diagnostics feature flags.
- CachedIpdState() - Constructor for class com.atlassian.diagnostics.ipd.api.CachedIpdState
- close() - Method in class com.atlassian.diagnostics.ipd.api.meters.AbstractIpdMeter
- close() - Method in interface com.atlassian.diagnostics.ipd.api.meters.IpdMeter
-
Permanently closes this instance of the meter.
- com.atlassian.diagnostics.ipd.api - package com.atlassian.diagnostics.ipd.api
- com.atlassian.diagnostics.ipd.api.jobs - package com.atlassian.diagnostics.ipd.api.jobs
- com.atlassian.diagnostics.ipd.api.meters - package com.atlassian.diagnostics.ipd.api.meters
- com.atlassian.diagnostics.ipd.api.meters.config - package com.atlassian.diagnostics.ipd.api.meters.config
- com.atlassian.diagnostics.ipd.api.meters.custom - package com.atlassian.diagnostics.ipd.api.meters.custom
- com.atlassian.diagnostics.ipd.api.meters.custom.type - package com.atlassian.diagnostics.ipd.api.meters.custom.type
- com.atlassian.diagnostics.ipd.api.registry - package com.atlassian.diagnostics.ipd.api.registry
- constructObjectName(MeterKey) - Method in interface com.atlassian.diagnostics.ipd.api.meters.config.MeterObjectNameConstructor
- counter(String, MeterTag...) - Method in interface com.atlassian.diagnostics.ipd.api.registry.IpdRegistry
-
Returns counter meter for a given name and tags.
- counter(String, MeterTag...) - Method in class com.atlassian.diagnostics.ipd.api.registry.NoopIpdRegistry
- CounterMeter - Interface in com.atlassian.diagnostics.ipd.api.meters
-
Interface representing a counter meter, which is a type of
IpdMeter. - CounterMeter.Noop - Class in com.atlassian.diagnostics.ipd.api.meters
- create(Consumer<ProductMeterConfigBuilder>) - Static method in interface com.atlassian.diagnostics.ipd.api.MeterConfigurations
-
Creates a new instance of MeterConfigurations with the provided default configuration.
- createInstance() - Method in class com.atlassian.diagnostics.ipd.api.meters.CustomMeter.MBeanSupplier
- createJobRegistry(BundleContext) - Method in interface com.atlassian.diagnostics.ipd.api.registry.PluginIpdFactory
-
Creates a new instance of IpdJobRegistry specific for the plugin.
- createMetric(MeterConfig) - Method in class com.atlassian.diagnostics.ipd.api.meters.config.MeterFactory
- createRegistry(MeterConfigurations, BundleContext) - Method in interface com.atlassian.diagnostics.ipd.api.registry.PluginIpdFactory
-
Creates a new instance of IpdRegistry specific for the plugin.
- createRegistry(BundleContext) - Method in interface com.atlassian.diagnostics.ipd.api.registry.PluginIpdFactory
-
Creates a new instance of IpdRegistry specific for the plugin.
- custom(String, CustomMeter.MBeanSupplier<T>, MeterTag...) - Method in interface com.atlassian.diagnostics.ipd.api.registry.IpdRegistry
-
Returns custom meter for a given name, tags and instance.
- custom(String, CustomMeter.MBeanSupplier<T>, MeterTag...) - Method in class com.atlassian.diagnostics.ipd.api.registry.NoopIpdRegistry
- custom(String, Class<T>, MeterTag...) - Method in interface com.atlassian.diagnostics.ipd.api.registry.IpdRegistry
-
Returns custom meter for a given name, tags and type.
- custom(String, Class<T>, MeterTag...) - Method in class com.atlassian.diagnostics.ipd.api.registry.NoopIpdRegistry
- CUSTOM_CLOCK - Static variable in class com.atlassian.diagnostics.ipd.api.meters.config.MeterConfig.Properties
- CustomMeter<T> - Interface in com.atlassian.diagnostics.ipd.api.meters
-
Interface representing a custom meter, which is a type of
IpdMeter. - CustomMeter.MBeanSupplier<BEAN_TYPE> - Class in com.atlassian.diagnostics.ipd.api.meters
-
Helper class which supplies a new instance of CustomMBean.
- CustomMeter.Noop<T> - Class in com.atlassian.diagnostics.ipd.api.meters
- CustomMeterImpl<T> - Class in com.atlassian.diagnostics.ipd.api.meters.custom
- CustomMeterImpl(MeterConfig, T) - Constructor for class com.atlassian.diagnostics.ipd.api.meters.custom.CustomMeterImpl
- CustomMeterImpl(MeterConfig, T, MBeanServer) - Constructor for class com.atlassian.diagnostics.ipd.api.meters.custom.CustomMeterImpl
D
- DEFAULT_DATA_LOGGER - Static variable in class com.atlassian.diagnostics.ipd.api.IpdConstants
E
- equals(Object) - Method in class com.atlassian.diagnostics.ipd.api.jobs.IpdJobRegistration
- equals(Object) - Method in class com.atlassian.diagnostics.ipd.api.MeterKey
- equals(Object) - Method in class com.atlassian.diagnostics.ipd.api.MeterTag
- evaluateConfig(MeterKey, ProductMeterConfigBuilder) - Method in interface com.atlassian.diagnostics.ipd.api.MeterConfigurations
-
Evaluates the configuration for the given MeterKey and applies it to the provided ProductMeterConfigBuilder.
- evaluateConfig(MeterKey, ProductMeterConfigBuilder) - Method in class com.atlassian.diagnostics.ipd.api.MeterConfigurationsImpl
F
- factory(CustomMeter.MBeanSupplier<BEAN_TYPE>) - Static method in class com.atlassian.diagnostics.ipd.api.meters.custom.CustomMeterImpl
- factory(Class<BEAN_TYPE>) - Static method in class com.atlassian.diagnostics.ipd.api.meters.custom.CustomMeterImpl
- forceLogMetric(IpdMeter, Instant) - Method in interface com.atlassian.diagnostics.ipd.api.IpdLoggingService
-
Logs the given meter with a the provided timestamp.
G
- get(MeterKey) - Method in class com.atlassian.diagnostics.ipd.api.registry.AbstractIpdMeterRegistry
- get(MeterKey) - Method in interface com.atlassian.diagnostics.ipd.api.registry.IpdRegistry
-
Retrieves an `IpdMeter` by its `MeterKey`.
- getAttributes(boolean) - Method in class com.atlassian.diagnostics.ipd.api.meters.custom.CustomMeterImpl
- getAttributes(boolean) - Method in interface com.atlassian.diagnostics.ipd.api.meters.IpdMeter
-
Returns the attributes of the meter.
- getAttributes(boolean) - Method in class com.atlassian.diagnostics.ipd.api.meters.IpdMeter.NoopMeter
- getBeanType() - Method in class com.atlassian.diagnostics.ipd.api.meters.CustomMeter.MBeanSupplier
- getBuckets() - Method in interface com.atlassian.diagnostics.ipd.api.meters.custom.type.IpdBucketsCounterMxBean
- getBuckets() - Method in class com.atlassian.diagnostics.ipd.api.meters.custom.type.IpdLongBucketsCounter
- getBuckets() - Method in class com.atlassian.diagnostics.ipd.api.meters.custom.type.IpdStringBucketsCounter
- getConfig() - Method in class com.atlassian.diagnostics.ipd.api.meters.AbstractIpdMeter
- getConfig() - Method in interface com.atlassian.diagnostics.ipd.api.meters.IpdMeter
-
Meter configuration is constructed when meter is created for the first time and is immutable.
- getEnabledCheck() - Method in class com.atlassian.diagnostics.ipd.api.meters.config.MeterConfig
-
Returns a supplier that checks if the meter is enabled.
- getFormattedTag() - Method in class com.atlassian.diagnostics.ipd.api.MeterTag
-
Returns a new MeterTag with the key and value formatted to replace spaces with underscores.
- getFormattedTagsAsMap() - Method in class com.atlassian.diagnostics.ipd.api.MeterKey
-
The formatted tag values are displayed in JMX and log files.
- getIpdJob() - Method in class com.atlassian.diagnostics.ipd.api.jobs.IpdJobRegistration
- getKey() - Method in class com.atlassian.diagnostics.ipd.api.jobs.IpdJobRegistration
- getKey() - Method in class com.atlassian.diagnostics.ipd.api.MeterTag
- getLogger() - Method in class com.atlassian.diagnostics.ipd.api.meters.config.MeterConfig
-
Returns the logger for this meter, logger defines to which file meter value will be logged.
- getLoggingCondition() - Method in class com.atlassian.diagnostics.ipd.api.meters.config.MeterConfig
-
Returns the logging condition of the meter.
- getMBeanObject() - Method in class com.atlassian.diagnostics.ipd.api.meters.custom.CustomMeterImpl
- getMBeanObject() - Method in interface com.atlassian.diagnostics.ipd.api.meters.CustomMeter
-
The returned object holds attribute data that are exposed to JMX.
- getMBeanObject() - Method in class com.atlassian.diagnostics.ipd.api.meters.CustomMeter.Noop
- getMeterKey() - Method in class com.atlassian.diagnostics.ipd.api.meters.AbstractIpdMeter
- getMeterKey() - Method in class com.atlassian.diagnostics.ipd.api.meters.config.MeterConfig
-
Returns the meter key.
- getMeterKey() - Method in interface com.atlassian.diagnostics.ipd.api.meters.IpdMeter
- getMeterKeys() - Method in class com.atlassian.diagnostics.ipd.api.registry.AbstractIpdMeterRegistry
- getMeterKeys() - Method in interface com.atlassian.diagnostics.ipd.api.registry.IpdRegistry
-
Retrieves all keys of registered `IpdMeter` instances as an immutable set.
- getMeterKeys(String) - Method in class com.atlassian.diagnostics.ipd.api.registry.AbstractIpdMeterRegistry
- getMeterKeys(String) - Method in interface com.atlassian.diagnostics.ipd.api.registry.IpdRegistry
-
Retrieves all keys of registered `IpdMeter` instances with the given prefix as an immutable set.
- getMeters() - Method in class com.atlassian.diagnostics.ipd.api.registry.AbstractIpdMeterRegistry
- getMeters() - Method in interface com.atlassian.diagnostics.ipd.api.registry.IpdRegistry
-
Retrieves all registered `IpdMeter` instances as an immutable set.
- getMeters(String) - Method in class com.atlassian.diagnostics.ipd.api.registry.AbstractIpdMeterRegistry
- getMeters(String) - Method in interface com.atlassian.diagnostics.ipd.api.registry.IpdRegistry
-
Retrieves all registered `IpdMeter` instances with the given prefix as an immutable set.
- getMetricUpdateListener() - Method in class com.atlassian.diagnostics.ipd.api.meters.config.MeterConfig
-
Returns a listener that is called when the meter value is updated.
- getName() - Method in class com.atlassian.diagnostics.ipd.api.MeterKey
- getObjectName() - Method in class com.atlassian.diagnostics.ipd.api.meters.AbstractIpdMeter
- getObjectName() - Method in class com.atlassian.diagnostics.ipd.api.meters.config.MeterConfig
-
Returns the object name of the MBean.
- getObjectName() - Method in interface com.atlassian.diagnostics.ipd.api.meters.IpdMeter
-
ObjectName of the MBean.
- getProperties() - Method in class com.atlassian.diagnostics.ipd.api.meters.config.MeterConfig
-
Returns the unmodifiable properties map of the meter.
- getTag(String) - Method in class com.atlassian.diagnostics.ipd.api.MeterKey
- getTags() - Method in class com.atlassian.diagnostics.ipd.api.MeterKey
- getTagsAsMap() - Method in class com.atlassian.diagnostics.ipd.api.MeterKey
- getTotalFailures() - Method in class com.atlassian.diagnostics.ipd.api.meters.custom.type.IpdConnectionState
- getTotalFailures() - Method in interface com.atlassian.diagnostics.ipd.api.meters.custom.type.IpdConnectionStateMxBean
- getTypeId() - Method in class com.atlassian.diagnostics.ipd.api.meters.config.MeterFactory
- getTypeId() - Method in interface com.atlassian.diagnostics.ipd.api.meters.CounterMeter
- getTypeId() - Method in class com.atlassian.diagnostics.ipd.api.meters.custom.CustomMeterImpl
- getTypeId() - Method in class com.atlassian.diagnostics.ipd.api.meters.CustomMeter.Noop
- getTypeId() - Method in interface com.atlassian.diagnostics.ipd.api.meters.IpdMeter
-
Identifies type of the meter.
- getTypeId() - Method in interface com.atlassian.diagnostics.ipd.api.meters.JmxCopyMeter
- getTypeId() - Method in interface com.atlassian.diagnostics.ipd.api.meters.StatsMeter
- getTypeId() - Method in interface com.atlassian.diagnostics.ipd.api.meters.ValueMeter
- getValue() - Method in class com.atlassian.diagnostics.ipd.api.MeterTag
H
- hashCode() - Method in class com.atlassian.diagnostics.ipd.api.jobs.IpdJobRegistration
- hashCode() - Method in class com.atlassian.diagnostics.ipd.api.MeterKey
- hashCode() - Method in class com.atlassian.diagnostics.ipd.api.MeterTag
- hideUntilUpdate() - Method in class com.atlassian.diagnostics.ipd.api.meters.AbstractIpdMeter
- hideUntilUpdate() - Method in interface com.atlassian.diagnostics.ipd.api.meters.IpdMeter
-
Hides the meter in JMX until the next value update.
I
- increment() - Method in interface com.atlassian.diagnostics.ipd.api.meters.CounterMeter
- increment(long) - Method in interface com.atlassian.diagnostics.ipd.api.meters.CounterMeter
- increment(long) - Method in class com.atlassian.diagnostics.ipd.api.meters.CounterMeter.Noop
- increment(String) - Method in class com.atlassian.diagnostics.ipd.api.meters.custom.type.IpdStringBucketsCounter
- incrementCounter(String, MeterTag...) - Method in interface com.atlassian.diagnostics.ipd.api.registry.IpdRegistry
-
Increments counter meter by 1.
- INTERVAL_LOGGING - Static variable in class com.atlassian.diagnostics.ipd.api.meters.config.MeterConfig.Properties
- IPD_APP_LOGGER_NAME - Static variable in class com.atlassian.diagnostics.ipd.api.IpdConstants
- IPD_DATA_LOGGER_NAME - Static variable in class com.atlassian.diagnostics.ipd.api.IpdConstants
- IpdBucketsCounterMxBean - Interface in com.atlassian.diagnostics.ipd.api.meters.custom.type
- IpdConnectionState - Class in com.atlassian.diagnostics.ipd.api.meters.custom.type
-
Metric type holding information about the connection state and total number of failures set.
- IpdConnectionState() - Constructor for class com.atlassian.diagnostics.ipd.api.meters.custom.type.IpdConnectionState
- IpdConnectionStateMxBean - Interface in com.atlassian.diagnostics.ipd.api.meters.custom.type
-
Represents JMX arguments for connection state type.
- IpdConstants - Class in com.atlassian.diagnostics.ipd.api
- IpdCustomMetricRegisterException - Exception Class in com.atlassian.diagnostics.ipd.api.meters.custom
- IpdCustomMetricRegisterException(String) - Constructor for exception class com.atlassian.diagnostics.ipd.api.meters.custom.IpdCustomMetricRegisterException
- IpdCustomMetricRegisterException(String, Throwable) - Constructor for exception class com.atlassian.diagnostics.ipd.api.meters.custom.IpdCustomMetricRegisterException
- IpdJob - Interface in com.atlassian.diagnostics.ipd.api.jobs
-
In product Diagnostic Job which will be run by
IpdJobRunner. - IpdJobRegistration - Class in com.atlassian.diagnostics.ipd.api.jobs
- IpdJobRegistration.IpdJobRegistrationBuilder - Class in com.atlassian.diagnostics.ipd.api.jobs
- IpdJobRegistrationBuilder(IpdJob, String) - Constructor for class com.atlassian.diagnostics.ipd.api.jobs.IpdJobRegistration.IpdJobRegistrationBuilder
- IpdJobRegistry - Interface in com.atlassian.diagnostics.ipd.api.jobs
-
IPD job registry that will schedule
IpdJobs. - IpdJobRunner - Interface in com.atlassian.diagnostics.ipd.api.jobs
-
Interface for running all registered jobs.
- IpdLoggingService - Interface in com.atlassian.diagnostics.ipd.api
-
Service for logging IPD metrics.
- IpdLongBucketsCounter - Class in com.atlassian.diagnostics.ipd.api.meters.custom.type
-
Metric type holding information about the number of values that fall into specific buckets.
- IpdLongBucketsCounter(Long...) - Constructor for class com.atlassian.diagnostics.ipd.api.meters.custom.type.IpdLongBucketsCounter
- IpdLongBucketsCounter.LongBucketsDefinition - Class in com.atlassian.diagnostics.ipd.api.meters.custom.type
- IpdMeter - Interface in com.atlassian.diagnostics.ipd.api.meters
-
Base interface for all IPD meters.
- IpdMeter.NoopMeter - Class in com.atlassian.diagnostics.ipd.api.meters
-
Noop implementation of
IpdMeter. - IpdRegisterException - Exception Class in com.atlassian.diagnostics.ipd.api.registry
- IpdRegisterException(String) - Constructor for exception class com.atlassian.diagnostics.ipd.api.registry.IpdRegisterException
- IpdRegisterException(String, Throwable) - Constructor for exception class com.atlassian.diagnostics.ipd.api.registry.IpdRegisterException
- IpdRegistry - Interface in com.atlassian.diagnostics.ipd.api.registry
-
Interface for managing and registering various types of meters in the IPD (In-Product Diagnostics) registry.
- IpdStringBucketsCounter - Class in com.atlassian.diagnostics.ipd.api.meters.custom.type
-
Metric type holding information about the number of values that fall into specific buckets.
- IpdStringBucketsCounter(String...) - Constructor for class com.atlassian.diagnostics.ipd.api.meters.custom.type.IpdStringBucketsCounter
- IpdStringBucketsCounter.StringBucketsDefinition - Class in com.atlassian.diagnostics.ipd.api.meters.custom.type
- isClosed() - Method in class com.atlassian.diagnostics.ipd.api.meters.AbstractIpdMeter
- isClosed() - Method in interface com.atlassian.diagnostics.ipd.api.meters.IpdMeter
-
Checks if the meter is closed.
- isConnected() - Method in class com.atlassian.diagnostics.ipd.api.meters.custom.type.IpdConnectionState
- isConnected() - Method in interface com.atlassian.diagnostics.ipd.api.meters.custom.type.IpdConnectionStateMxBean
- isEnabled() - Method in class com.atlassian.diagnostics.ipd.api.meters.AbstractIpdMeter
- isEnabled() - Method in interface com.atlassian.diagnostics.ipd.api.meters.IpdMeter
- isIntervalLoggingEnabled() - Method in class com.atlassian.diagnostics.ipd.api.meters.config.MeterConfig
-
Returns true if the meter should log at regular intervals.
- isIpdEnabled() - Method in class com.atlassian.diagnostics.ipd.api.CachedIpdState
- isIpdExtraLoggingEnabled - Variable in class com.atlassian.diagnostics.ipd.api.CachedIpdState
- isIpdExtraLoggingEnabled() - Method in class com.atlassian.diagnostics.ipd.api.CachedIpdState
- isIpdFeatureFlagEnabled - Variable in class com.atlassian.diagnostics.ipd.api.CachedIpdState
- isLogOnUpdate() - Method in class com.atlassian.diagnostics.ipd.api.meters.config.MeterConfig
-
Returns true if the meter should log on value update.
- isVisible() - Method in class com.atlassian.diagnostics.ipd.api.meters.custom.CustomMeterImpl
- isVisible() - Method in interface com.atlassian.diagnostics.ipd.api.meters.IpdMeter
-
Meter might be enabled, but temporarily hidden in JMX.
- isVisible() - Method in class com.atlassian.diagnostics.ipd.api.meters.IpdMeter.NoopMeter
- isWipIpdEnabled() - Method in class com.atlassian.diagnostics.ipd.api.CachedIpdState
- isWipIpdFeatureFlagEnabled - Variable in class com.atlassian.diagnostics.ipd.api.CachedIpdState
- isWorkInProgress() - Method in class com.atlassian.diagnostics.ipd.api.jobs.IpdJobRegistration
- isWorkInProgress() - Method in class com.atlassian.diagnostics.ipd.api.meters.config.MeterConfig
-
Returns true if the meter is marked as "work in progress" Work in progress meters require additional feature flag to be enabled.
J
- JmxCopyMeter - Interface in com.atlassian.diagnostics.ipd.api.meters
-
Interface representing a JMX copy meter, which is a type of
IpdMeter. - JmxCopyMeter.Noop - Class in com.atlassian.diagnostics.ipd.api.meters
L
- lastUpdateMillis() - Method in class com.atlassian.diagnostics.ipd.api.meters.AbstractIpdMeter
- lastUpdateMillis() - Method in interface com.atlassian.diagnostics.ipd.api.meters.IpdMeter
-
Returns the timestamp of the last value update in milliseconds.
- LOG_LABEL - Static variable in class com.atlassian.diagnostics.ipd.api.IpdConstants
- LOG_ON_UPDATE - Static variable in class com.atlassian.diagnostics.ipd.api.meters.config.MeterConfig.Properties
- logIfUpdatedInLastMinute() - Method in interface com.atlassian.diagnostics.ipd.api.meters.config.MeterConfigBuilder
-
Makes the meter to be logged only if it was updated in the last minute.
- logIfUpdatedInLastMinute() - Method in class com.atlassian.diagnostics.ipd.api.meters.config.MeterConfigBuilderImpl
- logMetric(IpdMeter) - Method in interface com.atlassian.diagnostics.ipd.api.IpdLoggingService
-
Logs the given meter with the current timestamp.
- logMetric(IpdMeter, Instant) - Method in interface com.atlassian.diagnostics.ipd.api.IpdLoggingService
-
Logs the given meter with a the provided timestamp.
- logOnceEveryInterval(int) - Method in interface com.atlassian.diagnostics.ipd.api.meters.config.MeterConfigBuilder
-
Makes the meter to be logged once every 'interval' times.
- logOnceEveryInterval(int) - Method in class com.atlassian.diagnostics.ipd.api.meters.config.MeterConfigBuilderImpl
- logWhen(Predicate<IpdMeter>) - Method in interface com.atlassian.diagnostics.ipd.api.meters.config.MeterConfigBuilder
-
Adds additional condition for logging the meter.Meter will be logged only when this condition is met.
- logWhen(Predicate<IpdMeter>) - Method in class com.atlassian.diagnostics.ipd.api.meters.config.MeterConfigBuilderImpl
M
- MBeanSupplier(Class<BEAN_TYPE>) - Constructor for class com.atlassian.diagnostics.ipd.api.meters.CustomMeter.MBeanSupplier
-
A supplier which creates a new instance of CustomMBean with default constructor.
- MBeanSupplier(Class<BEAN_TYPE>, Supplier<BEAN_TYPE>) - Constructor for class com.atlassian.diagnostics.ipd.api.meters.CustomMeter.MBeanSupplier
-
A supplier which creates a new instance of CustomMBean with a custom supplier.
- MeterConfig - Class in com.atlassian.diagnostics.ipd.api.meters.config
-
Immutable configuration for an IPD meter.
- MeterConfig(MeterKey, MeterConfigBuilderImpl) - Constructor for class com.atlassian.diagnostics.ipd.api.meters.config.MeterConfig
- MeterConfig.Properties - Class in com.atlassian.diagnostics.ipd.api.meters.config
-
Common property keys used in the properties map of the meter.
- MeterConfigBuilder - Interface in com.atlassian.diagnostics.ipd.api.meters.config
-
Builder used to dynamically create a
MeterConfig. - MeterConfigBuilderImpl - Class in com.atlassian.diagnostics.ipd.api.meters.config
- MeterConfigBuilderImpl() - Constructor for class com.atlassian.diagnostics.ipd.api.meters.config.MeterConfigBuilderImpl
- meterConfigurations - Variable in class com.atlassian.diagnostics.ipd.api.registry.AbstractIpdMeterRegistry
- MeterConfigurations - Interface in com.atlassian.diagnostics.ipd.api
-
Interface for managing meter configurations.
- MeterConfigurationsImpl - Class in com.atlassian.diagnostics.ipd.api
- MeterConfigurationsImpl(Consumer<ProductMeterConfigBuilder>) - Constructor for class com.atlassian.diagnostics.ipd.api.MeterConfigurationsImpl
- MeterFactory<T> - Class in com.atlassian.diagnostics.ipd.api.meters.config
-
Factory for creating
IpdMeterinstances. - MeterFactory(Function<MeterConfig, T>, String, String) - Constructor for class com.atlassian.diagnostics.ipd.api.meters.config.MeterFactory
- MeterKey - Class in com.atlassian.diagnostics.ipd.api
-
Represents a key for an IPD meter, which includes a name and an array of tags.
- MeterKey(String, MeterTag...) - Constructor for class com.atlassian.diagnostics.ipd.api.MeterKey
- MeterObjectNameConstructor - Interface in com.atlassian.diagnostics.ipd.api.meters.config
-
Functional interface for constructing an ObjectName for a meter key.
- meters - Variable in class com.atlassian.diagnostics.ipd.api.registry.AbstractIpdMeterRegistry
- MeterTag - Class in com.atlassian.diagnostics.ipd.api
-
Represents a tag for a meter.
- metricUpdated() - Method in class com.atlassian.diagnostics.ipd.api.meters.AbstractIpdMeter
N
- NO_OP - Static variable in class com.atlassian.diagnostics.ipd.api.IpdConstants
- Noop(MeterConfig) - Constructor for class com.atlassian.diagnostics.ipd.api.meters.CounterMeter.Noop
- Noop(MeterConfig) - Constructor for class com.atlassian.diagnostics.ipd.api.meters.JmxCopyMeter.Noop
- Noop(MeterConfig) - Constructor for class com.atlassian.diagnostics.ipd.api.meters.StatsMeter.Noop
- Noop(MeterConfig) - Constructor for class com.atlassian.diagnostics.ipd.api.meters.ValueMeter.Noop
- Noop(T, MeterConfig) - Constructor for class com.atlassian.diagnostics.ipd.api.meters.CustomMeter.Noop
- NOOP_FACTORY - Static variable in interface com.atlassian.diagnostics.ipd.api.meters.CounterMeter
- NOOP_FACTORY - Static variable in interface com.atlassian.diagnostics.ipd.api.meters.JmxCopyMeter
- NOOP_FACTORY - Static variable in interface com.atlassian.diagnostics.ipd.api.meters.StatsMeter
- NOOP_FACTORY - Static variable in interface com.atlassian.diagnostics.ipd.api.meters.ValueMeter
- noopFactory(CustomMeter.MBeanSupplier<T>) - Static method in interface com.atlassian.diagnostics.ipd.api.meters.CustomMeter
- NoopIpdRegistry - Class in com.atlassian.diagnostics.ipd.api.registry
-
A no-op implementation of
IpdRegistry. - NoopIpdRegistry() - Constructor for class com.atlassian.diagnostics.ipd.api.registry.NoopIpdRegistry
-
Creates a new instance of
NoopIpdRegistrywith all meters disabled by default. - NoopIpdRegistry(MeterConfigurations) - Constructor for class com.atlassian.diagnostics.ipd.api.registry.NoopIpdRegistry
- NoopMeter(MeterConfig) - Constructor for class com.atlassian.diagnostics.ipd.api.meters.IpdMeter.NoopMeter
O
- of(String, String) - Static method in class com.atlassian.diagnostics.ipd.api.MeterTag
-
Creates a new MeterTag with the given key and value.
P
- PluginIpdFactory - Interface in com.atlassian.diagnostics.ipd.api.registry
-
This interface should be imported by a plugin that wants to expose metrics via IPD library.
- ProductMeterConfigBuilder - Interface in com.atlassian.diagnostics.ipd.api.meters.config
-
Interface for setting product-level meter configuration.
- putValue(long) - Method in class com.atlassian.diagnostics.ipd.api.meters.custom.type.IpdLongBucketsCounter
R
- refreshState() - Method in class com.atlassian.diagnostics.ipd.api.CachedIpdState
-
Refresh the state of the feature flags.
- register(IpdJobRegistration) - Method in interface com.atlassian.diagnostics.ipd.api.jobs.IpdJobRegistry
-
Register single job with options.
- register(IpdJob, String) - Method in interface com.atlassian.diagnostics.ipd.api.jobs.IpdJobRegistry
-
Register single job.
- register(MeterFactory<T>, String, MeterTag...) - Method in class com.atlassian.diagnostics.ipd.api.registry.AbstractIpdMeterRegistry
- register(MeterFactory<T>, String, MeterTag...) - Method in interface com.atlassian.diagnostics.ipd.api.registry.IpdRegistry
-
returns an `IpdMeter` of type 'T' with the given name and tags.
- registerMBean() - Method in class com.atlassian.diagnostics.ipd.api.meters.AbstractIpdMeter
-
Registers the MBean in the MBeanServer.
Method will be called when the meter is enabled and is visible in JMX. - registerMBean() - Method in class com.atlassian.diagnostics.ipd.api.meters.custom.CustomMeterImpl
- registerMBean() - Method in class com.atlassian.diagnostics.ipd.api.meters.IpdMeter.NoopMeter
- remove(MeterKey) - Method in class com.atlassian.diagnostics.ipd.api.registry.AbstractIpdMeterRegistry
- remove(MeterKey) - Method in interface com.atlassian.diagnostics.ipd.api.registry.IpdRegistry
-
Removes the `IpdMeter` associated with the given `MeterKey`.
- removeAll() - Method in class com.atlassian.diagnostics.ipd.api.registry.AbstractIpdMeterRegistry
- removeAll() - Method in interface com.atlassian.diagnostics.ipd.api.registry.IpdRegistry
-
Removes all registered `IpdMeter` instances.
- removeAll(String, MeterTag...) - Method in class com.atlassian.diagnostics.ipd.api.registry.AbstractIpdMeterRegistry
- removeAll(String, MeterTag...) - Method in interface com.atlassian.diagnostics.ipd.api.registry.IpdRegistry
-
Removed all registered `IpdMeter` instances with the given prefix and tags.
- removeAllWithAnyTag(String, Set<MeterTag>) - Method in class com.atlassian.diagnostics.ipd.api.registry.AbstractIpdMeterRegistry
- removeAllWithAnyTag(String, Set<MeterTag>) - Method in interface com.atlassian.diagnostics.ipd.api.registry.IpdRegistry
-
Removes all registered `IpdMeter` instances that match prefix and any of the given tags.
- removeIf(String, Predicate<IpdMeter>) - Method in class com.atlassian.diagnostics.ipd.api.registry.AbstractIpdMeterRegistry
- removeIf(String, Predicate<IpdMeter>) - Method in interface com.atlassian.diagnostics.ipd.api.registry.IpdRegistry
-
Removes all registered `IpdMeter` instances with the given prefix that also match the given predicate.
- removeIf(Predicate<IpdMeter>) - Method in class com.atlassian.diagnostics.ipd.api.registry.AbstractIpdMeterRegistry
- removeIf(Predicate<IpdMeter>) - Method in interface com.atlassian.diagnostics.ipd.api.registry.IpdRegistry
-
Removes all registered `IpdMeter` instances that match the given predicate.
- reset() - Method in class com.atlassian.diagnostics.ipd.api.meters.custom.type.IpdLongBucketsCounter
- reset() - Method in class com.atlassian.diagnostics.ipd.api.meters.custom.type.IpdStringBucketsCounter
- retainIf(String, Predicate<IpdMeter>) - Method in class com.atlassian.diagnostics.ipd.api.registry.AbstractIpdMeterRegistry
- retainIf(String, Predicate<IpdMeter>) - Method in interface com.atlassian.diagnostics.ipd.api.registry.IpdRegistry
-
Iterates through all registered metrics matching prefix and removes those that do not match the predicate.
- runJob() - Method in interface com.atlassian.diagnostics.ipd.api.jobs.IpdJob
-
This method is executed periodically on an IPD scheduler.
- runJobs() - Method in interface com.atlassian.diagnostics.ipd.api.jobs.IpdJobRunner
-
Runs all registered jobs.
S
- setConnected(boolean) - Method in class com.atlassian.diagnostics.ipd.api.meters.custom.type.IpdConnectionState
- setCustomLogger(Logger) - Method in interface com.atlassian.diagnostics.ipd.api.meters.config.MeterConfigBuilder
-
Sets a custom logger for the meter.
- setCustomLogger(Logger) - Method in class com.atlassian.diagnostics.ipd.api.meters.config.MeterConfigBuilderImpl
- setIntervalLogging(boolean) - Method in interface com.atlassian.diagnostics.ipd.api.meters.config.MeterConfigBuilder
-
Sets the meter to log at regular intervals.
- setIntervalLogging(boolean) - Method in class com.atlassian.diagnostics.ipd.api.meters.config.MeterConfigBuilderImpl
- setLogOnUpdate(boolean) - Method in interface com.atlassian.diagnostics.ipd.api.meters.config.MeterConfigBuilder
-
Sets the meter to be logged when it's updated.
- setLogOnUpdate(boolean) - Method in class com.atlassian.diagnostics.ipd.api.meters.config.MeterConfigBuilderImpl
- setObjectNameConstructor(MeterObjectNameConstructor) - Method in class com.atlassian.diagnostics.ipd.api.meters.config.MeterConfigBuilderImpl
- setObjectNameConstructor(MeterObjectNameConstructor) - Method in interface com.atlassian.diagnostics.ipd.api.meters.config.ProductMeterConfigBuilder
-
Set the object name factory for this meter.
- setProperty(String, Object) - Method in interface com.atlassian.diagnostics.ipd.api.meters.config.MeterConfigBuilder
-
Sets a property on the MeterConfigBuilder.
- setProperty(String, Object) - Method in class com.atlassian.diagnostics.ipd.api.meters.config.MeterConfigBuilderImpl
- setUpdateListener(Consumer<IpdMeter>) - Method in interface com.atlassian.diagnostics.ipd.api.meters.config.MeterConfigBuilder
-
Sets the listener that will be called when the meter value is updated and
MeterConfigBuilder.setLogOnUpdate(boolean)is enabled. - setUpdateListener(Consumer<IpdMeter>) - Method in class com.atlassian.diagnostics.ipd.api.meters.config.MeterConfigBuilderImpl
- setValue(String, long, MeterTag...) - Method in interface com.atlassian.diagnostics.ipd.api.registry.IpdRegistry
-
Sets value to the existing or new value meter.
- setWorkInProgress() - Method in class com.atlassian.diagnostics.ipd.api.jobs.IpdJobRegistration.IpdJobRegistrationBuilder
- setWorkInProgress(boolean) - Method in interface com.atlassian.diagnostics.ipd.api.meters.config.MeterConfigBuilder
-
Sets meter as "work in progress".
- setWorkInProgress(boolean) - Method in class com.atlassian.diagnostics.ipd.api.meters.config.MeterConfigBuilderImpl
- shutdown() - Method in interface com.atlassian.diagnostics.ipd.api.jobs.IpdJobRegistry
-
Unregisters all jobs.
- shutdown() - Method in class com.atlassian.diagnostics.ipd.api.registry.AbstractIpdMeterRegistry
- shutdown() - Method in interface com.atlassian.diagnostics.ipd.api.registry.IpdRegistry
-
Shuts down the registry and unregisters all meters.
- stats(String, MeterTag...) - Method in interface com.atlassian.diagnostics.ipd.api.registry.IpdRegistry
-
Returns stats meter for a given name and tags.
- stats(String, MeterTag...) - Method in class com.atlassian.diagnostics.ipd.api.registry.NoopIpdRegistry
- statsCopy(String, ObjectName, MeterTag...) - Method in interface com.atlassian.diagnostics.ipd.api.registry.IpdRegistry
-
Returns an IPD meter which copies stats attributes of existing JMX meter.
- statsCopy(String, ObjectName, MeterTag...) - Method in class com.atlassian.diagnostics.ipd.api.registry.NoopIpdRegistry
- StatsMeter - Interface in com.atlassian.diagnostics.ipd.api.meters
-
Interface representing a statistics meter, which is a type of
IpdMeter. - StatsMeter.Noop - Class in com.atlassian.diagnostics.ipd.api.meters
T
- toString() - Method in class com.atlassian.diagnostics.ipd.api.MeterKey
- toString() - Method in class com.atlassian.diagnostics.ipd.api.MeterTag
- TRUE_CONFIG_PREDICATE - Static variable in class com.atlassian.diagnostics.ipd.api.IpdConstants
- TRUE_METER_PREDICATE - Static variable in class com.atlassian.diagnostics.ipd.api.IpdConstants
- TYPE_ID - Static variable in interface com.atlassian.diagnostics.ipd.api.meters.CounterMeter
- TYPE_ID - Static variable in interface com.atlassian.diagnostics.ipd.api.meters.CustomMeter
- TYPE_ID - Static variable in interface com.atlassian.diagnostics.ipd.api.meters.JmxCopyMeter
- TYPE_ID - Static variable in interface com.atlassian.diagnostics.ipd.api.meters.StatsMeter
- TYPE_ID - Static variable in interface com.atlassian.diagnostics.ipd.api.meters.ValueMeter
- typeSuffix() - Method in class com.atlassian.diagnostics.ipd.api.meters.config.MeterFactory
U
- unregister(IpdJob) - Method in interface com.atlassian.diagnostics.ipd.api.jobs.IpdJobRegistry
-
Unregisters a single job.
- unregister(Class<? extends IpdJob>) - Method in interface com.atlassian.diagnostics.ipd.api.jobs.IpdJobRegistry
-
Unregisters a single job by its class.
- unregisterAllDisabledMetrics() - Method in class com.atlassian.diagnostics.ipd.api.registry.AbstractIpdMeterRegistry
- unregisterAllDisabledMetrics() - Method in interface com.atlassian.diagnostics.ipd.api.registry.IpdRegistry
-
Unregisters all disabled metrics.
- unregisterAllDisabledMetrics() - Method in class com.atlassian.diagnostics.ipd.api.registry.NoopIpdRegistry
- unregisterMBean() - Method in class com.atlassian.diagnostics.ipd.api.meters.AbstractIpdMeter
-
Unregisters the MBean from the MBeanServer.
- unregisterMBean() - Method in class com.atlassian.diagnostics.ipd.api.meters.custom.CustomMeterImpl
- unregisterMBean() - Method in class com.atlassian.diagnostics.ipd.api.meters.IpdMeter.NoopMeter
- update() - Method in class com.atlassian.diagnostics.ipd.api.meters.JmxCopyMeter.Noop
- update() - Method in interface com.atlassian.diagnostics.ipd.api.meters.JmxCopyMeter
-
Synchronizes the meter state with the original JMX MBean.
- update(long) - Method in interface com.atlassian.diagnostics.ipd.api.meters.StatsMeter
-
Updates the metric with the given value.
- update(long) - Method in class com.atlassian.diagnostics.ipd.api.meters.ValueMeter.Noop
- update(long) - Method in interface com.atlassian.diagnostics.ipd.api.meters.ValueMeter
- update(long, TimeUnit) - Method in class com.atlassian.diagnostics.ipd.api.meters.StatsMeter.Noop
- update(long, TimeUnit) - Method in interface com.atlassian.diagnostics.ipd.api.meters.StatsMeter
-
Updates the metric with the given value.
- update(Long) - Method in class com.atlassian.diagnostics.ipd.api.meters.ValueAndStatsMeterWrapper
- update(Consumer<T>) - Method in class com.atlassian.diagnostics.ipd.api.meters.custom.CustomMeterImpl
- update(Consumer<T>) - Method in class com.atlassian.diagnostics.ipd.api.meters.CustomMeter.Noop
- update(Consumer<T>) - Method in interface com.atlassian.diagnostics.ipd.api.meters.CustomMeter
-
Updates the meter state by calling the updater function.
- updateStats(Long) - Method in class com.atlassian.diagnostics.ipd.api.meters.ValueAndStatsMeterWrapper
- updateStats(Long, TimeUnit) - Method in class com.atlassian.diagnostics.ipd.api.meters.ValueAndStatsMeterWrapper
- updateValue(Long) - Method in class com.atlassian.diagnostics.ipd.api.meters.ValueAndStatsMeterWrapper
V
- value(String, MeterTag...) - Method in interface com.atlassian.diagnostics.ipd.api.registry.IpdRegistry
-
Returns value meter for a given name and tags.
- value(String, MeterTag...) - Method in class com.atlassian.diagnostics.ipd.api.registry.NoopIpdRegistry
- valueAndStats(String, MeterTag...) - Method in interface com.atlassian.diagnostics.ipd.api.registry.IpdRegistry
-
Returns metric wrapper containing both value and statistic metrics.
- ValueAndStatsMeterWrapper - Class in com.atlassian.diagnostics.ipd.api.meters
-
Wraps
ValueMeterandStatsMeterinto one class allowing updating both of them in one operation. - ValueAndStatsMeterWrapper(StatsMeter, ValueMeter) - Constructor for class com.atlassian.diagnostics.ipd.api.meters.ValueAndStatsMeterWrapper
- ValueMeter - Interface in com.atlassian.diagnostics.ipd.api.meters
-
Interface representing a value meter, which is a type of
IpdMeter. - ValueMeter.Noop - Class in com.atlassian.diagnostics.ipd.api.meters
W
- WORK_IN_PROGRESS - Static variable in class com.atlassian.diagnostics.ipd.api.meters.config.MeterConfig.Properties
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form