@Immutable public static class LoadMonitorTaskRunner.WindowSamplingInstruction extends Object
Modifier and Type | Field and Description |
---|---|
String |
reason |
LoadMonitorTaskRunner.NextWindowStep |
samplingInstruction |
SamplingUtils.MetricsWindow |
targetWindow |
long |
timeMs |
Constructor and Description |
---|
WindowSamplingInstruction(LoadMonitorTaskRunner.NextWindowStep samplingInstruction,
SamplingUtils.MetricsWindow targetWindow,
long timeMs,
String reason) |
public final LoadMonitorTaskRunner.NextWindowStep samplingInstruction
public final SamplingUtils.MetricsWindow targetWindow
public final long timeMs
public final String reason
public WindowSamplingInstruction(LoadMonitorTaskRunner.NextWindowStep samplingInstruction, SamplingUtils.MetricsWindow targetWindow, long timeMs, String reason)
samplingInstruction
- the instruction on what the sampler should do nexttargetWindow
- the window that we will target sampling in the next run.timeMs
- the absolute time since the unix epoch at which to resume sampling.reason
- the reason for the sampling instruction.