public class EagerMiniProfilerExecInitializer extends MiniProfilerExecInitializer
Constructor and Description |
---|
EagerMiniProfilerExecInitializer(ProfilerProvider provider) |
EagerMiniProfilerExecInitializer(ProfilerProvider provider,
ProfilerStoreOption defaultProfilerStoreOption) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
shouldCreateProfilerOnExecutionStart(ratpack.exec.Execution execution)
This implementation returns true, ie always start a profiler.
|
executionComplete, getProfilerName, init
public EagerMiniProfilerExecInitializer(ProfilerProvider provider, ProfilerStoreOption defaultProfilerStoreOption)
public EagerMiniProfilerExecInitializer(ProfilerProvider provider)
protected boolean shouldCreateProfilerOnExecutionStart(ratpack.exec.Execution execution)
shouldCreateProfilerOnExecutionStart
in class MiniProfilerExecInitializer
execution
- the execution whose segment is being interceptedtrue