public interface ProfilerStrategy
Timers.Timers| Modifier and Type | Method and Description |
|---|---|
default void |
onRequestEnd()
Method that is called to signal that the request has completed.
|
void |
setConfiguration(ProfilerConfiguration configuration)
Method that is called when the strategy is
registered. |
Ticker |
start(String frameName)
Called to mark the end of a profiled block of code.
|
default void onRequestEnd()
void setConfiguration(@Nonnull ProfilerConfiguration configuration)
registered.configuration - the configuration@Nonnull Ticker start(@Nonnull String frameName)
frameName - name describing the profiled block of codeticker that can be used to mark the end of the profiled code
block. Must be non-null, but can be Ticker.NO_OP if the strategy opts out of profiling.Copyright © 2019 Atlassian. All rights reserved.