@Extension public class SlowRequestChecker extends PeriodicWork
SafeTimerTask.ExceptionRunnable
ExtensionPoint.LegacyInstancesAreScopedToHudson
Modifier and Type | Field and Description |
---|---|
static boolean |
DISABLED
Provide a means to disable the slow request checker.
|
static int |
RECURRENCE_PERIOD_SEC
How often to run the slow request checker
|
static int |
THRESHOLD
Time in milliseconds that's considered too slow for requests.
|
DAY, HOUR, logger, MIN
Constructor and Description |
---|
SlowRequestChecker() |
Modifier and Type | Method and Description |
---|---|
protected void |
doRun() |
long |
getRecurrencePeriod() |
all, getInitialDelay, init
getLogsRoot, of, run
cancel, scheduledExecutionTime
public static final int RECURRENCE_PERIOD_SEC
public static final int THRESHOLD
RECURRENCE_PERIOD_SEC
then that will be used instead.public static volatile boolean DISABLED
public long getRecurrencePeriod()
getRecurrencePeriod
in class PeriodicWork
protected void doRun() throws Exception
doRun
in class SafeTimerTask
Exception
Copyright © 2016–2022. All rights reserved.