public final class MetricsBuilderFactory extends Object
| Modifier and Type | Method and Description |
|---|---|
static com.atlassian.util.profiling.Metrics.Builder |
newClusterLockAwaitedMetricsBuilder(String pluginKey,
String lockName,
String implementationName)
Constructs
Metrics.Builder to use for measuring how long a cluster lock was awaited by a plugin. |
static com.atlassian.util.profiling.Metrics.Builder |
newClusterLockHeldMetricsBuilder(String pluginKey,
String lockName,
String implementationName)
Constructs
Metrics.Builder to use for measuring how long a cluster lock was held by a plugin. |
public static com.atlassian.util.profiling.Metrics.Builder newClusterLockHeldMetricsBuilder(String pluginKey, String lockName, String implementationName)
Metrics.Builder to use for measuring how long a cluster lock was held by a plugin.pluginKey - the name of the plugin that created this locklockName - the name of the lockimplementationName - the name of the lock service implementation (e.g. DatabaseClusterLockService,
HazelcastClusterLockService)public static com.atlassian.util.profiling.Metrics.Builder newClusterLockAwaitedMetricsBuilder(String pluginKey, String lockName, String implementationName)
Metrics.Builder to use for measuring how long a cluster lock was awaited by a plugin.pluginKey - the name of the plugin that created this locklockName - the name of the lockimplementationName - the name of the lock service implementation (e.g. DatabaseClusterLockService,
HazelcastClusterLockService)Copyright © 2022 Atlassian. All rights reserved.