@Extension @Symbol(value="fingerprintCleanup") @Restricted(value=org.kohsuke.accmod.restrictions.NoExternalUse.class) public class FingerprintCleanupThread extends AsyncPeriodicWork
A Fingerprint
is removed when none of the builds that
it point to is available in the records.
SafeTimerTask.ExceptionRunnable
ExtensionPoint.LegacyInstancesAreScopedToHudson
name
DAY, HOUR, logger, MIN
Constructor and Description |
---|
FingerprintCleanupThread() |
Modifier and Type | Method and Description |
---|---|
void |
execute(TaskListener listener)
Initiates the cleanup of fingerprints IF enabled.
|
long |
getRecurrencePeriod()
Gets the number of milliseconds between successive executions.
|
static void |
invoke() |
createListener, doRun, getErrorLoggingLevel, getLogFile, getNormalLoggingLevel, getSlowLoggingLevel
all, getInitialDelay, init
getLogsRoot, of, run
cancel, scheduledExecutionTime
public long getRecurrencePeriod()
PeriodicWork
Hudson calls this method once to set up a recurring timer, instead of calling this each time after the previous execution completed. So this class cannot be used to implement a non-regular recurring timer.
IOW, the method should always return the same value.
getRecurrencePeriod
in class PeriodicWork
public static void invoke()
public void execute(TaskListener listener)
execute
in class AsyncPeriodicWork
listener
- Output sent will be reported to the users. (this work is TBD.)Copyright © 2004–2021. All rights reserved.