Class LongRunningTaskAnalyticsEvent
java.lang.Object
com.atlassian.confluence.internal.diagnostics.LongRunningTaskAnalyticsEvent
LongRunningTaskAnalyticsEvent is fired when long running task runs longer than configured threshold
Fired from
LongRunningTaskMonitor
- Since:
- 6.11.0
-
Constructor Summary
ConstructorsConstructorDescriptionLongRunningTaskAnalyticsEvent
(String className, int percentageComplete, long elapsedTimeInSec, long estimatedTimeRemainingInSec, long thresholdInSec, Thread.State threadState) -
Method Summary
Modifier and TypeMethodDescriptionlong
long
int
long
-
Constructor Details
-
LongRunningTaskAnalyticsEvent
public LongRunningTaskAnalyticsEvent(String className, int percentageComplete, long elapsedTimeInSec, long estimatedTimeRemainingInSec, long thresholdInSec, Thread.State threadState)
-
-
Method Details
-
getPercentageComplete
public int getPercentageComplete() -
getElapsedTimeInSec
public long getElapsedTimeInSec() -
getEstimatedTimeRemainingInSec
public long getEstimatedTimeRemainingInSec() -
getThresholdInSec
public long getThresholdInSec() -
getThreadState
-
getClassName
-