Class DurationThresholdWarningTimingHelperFactory
- java.lang.Object
-
- com.atlassian.confluence.util.profiling.DurationThresholdWarningTimingHelperFactory
-
@Internal @ThreadSafe @ParametersAreNonnullByDefault public class DurationThresholdWarningTimingHelperFactory extends Object
A factory for creatingDurationThresholdWarningTimingHelper
objects.- Since:
- 5.5.5
-
-
Constructor Summary
Constructors Constructor Description DurationThresholdWarningTimingHelperFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static DurationThresholdWarningTimingHelper
createFromSystemProperty(String millisPropertyName, @Nullable Duration defaultThreshold)
static DurationThresholdWarningTimingHelper
createFromSystemProperty(String millisPropertyName, @Nullable org.joda.time.Duration defaultThreshold)
Deprecated, for removal: This API element is subject to removal in a future version.since 8.6
-
-
-
Method Detail
-
createFromSystemProperty
@Deprecated(forRemoval=true) public static DurationThresholdWarningTimingHelper createFromSystemProperty(String millisPropertyName, @Nullable org.joda.time.Duration defaultThreshold)
Deprecated, for removal: This API element is subject to removal in a future version.since 8.6Factory method for creating a new instance using the given system property and default threshold to configure it.
-
createFromSystemProperty
public static DurationThresholdWarningTimingHelper createFromSystemProperty(String millisPropertyName, @Nullable Duration defaultThreshold)
-
-