Class NoopThreadLimiterAnalyticsService
java.lang.Object
com.atlassian.confluence.impl.threadlimiter.analyticsservice.NoopThreadLimiterAnalyticsService
- All Implemented Interfaces:
ThreadLimiterAnalyticsService
public class NoopThreadLimiterAnalyticsService
extends Object
implements ThreadLimiterAnalyticsService
A stub used when the proper was not retrieved.
- Since:
- 9.3.0
-
Field Summary
Fields inherited from interface com.atlassian.confluence.impl.threadlimiter.analyticsservice.ThreadLimiterAnalyticsService
log, THREAD_LIMITER_DISABLED, threadLimiterAnalyticsServiceRef
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Is called when the analytics should be sent to the server (called by the scheduler).long
onMacroStartRendering
(MacroDefinition macroDefinition) Is called when the macro rendering startsvoid
onMacroStopRendering
(long renderingId) Is called when the macro rendering finishesvoid
onSearchRequestProcessingFinish
(long requestProcessingId) Is called when the search request processing finishes.long
Is called when the search request processing starts.
-
Constructor Details
-
NoopThreadLimiterAnalyticsService
public NoopThreadLimiterAnalyticsService()
-
-
Method Details
-
onMacroStartRendering
Description copied from interface:ThreadLimiterAnalyticsService
Is called when the macro rendering starts- Specified by:
onMacroStartRendering
in interfaceThreadLimiterAnalyticsService
- Parameters:
macroDefinition
- macro definition- Returns:
- unique rendering id
-
onMacroStopRendering
public void onMacroStopRendering(long renderingId) Description copied from interface:ThreadLimiterAnalyticsService
Is called when the macro rendering finishes- Specified by:
onMacroStopRendering
in interfaceThreadLimiterAnalyticsService
- Parameters:
renderingId
- rendering id provided by onMacroStartRendering call.
-
onSearchRequestProcessingStart
public long onSearchRequestProcessingStart()Description copied from interface:ThreadLimiterAnalyticsService
Is called when the search request processing starts.- Specified by:
onSearchRequestProcessingStart
in interfaceThreadLimiterAnalyticsService
- Returns:
- unique processing id
-
onSearchRequestProcessingFinish
public void onSearchRequestProcessingFinish(long requestProcessingId) Description copied from interface:ThreadLimiterAnalyticsService
Is called when the search request processing finishes.- Specified by:
onSearchRequestProcessingFinish
in interfaceThreadLimiterAnalyticsService
- Parameters:
requestProcessingId
- id provided by onSearchRequestProcessingStart call.
-
flushAnalytics
public void flushAnalytics()Description copied from interface:ThreadLimiterAnalyticsService
Is called when the analytics should be sent to the server (called by the scheduler).- Specified by:
flushAnalytics
in interfaceThreadLimiterAnalyticsService
-