Class StartupReport
java.lang.Object
java.util.TimerTask
hudson.triggers.SafeTimerTask
hudson.model.PeriodicWork
hudson.model.AsyncPeriodicWork
com.cloudbees.jenkins.support.startup.StartupReport
- All Implemented Interfaces:
ExtensionPoint,Runnable
Builds up startup report by collecting thread dumps during startup as well as the timing for each milestone.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classRecords the initial Jenkins save just after completing the startup reactor.Nested classes/interfaces inherited from class hudson.triggers.SafeTimerTask
SafeTimerTask.ExceptionRunnableNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class hudson.model.AsyncPeriodicWork
nameFields inherited from class hudson.model.PeriodicWork
DAY, HOUR, logger, MIN -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidexecute(TaskListener listener) static StartupReportget()longgetLogs()longvoidvoidvoidvoidvoidvoidMethods inherited from class hudson.model.AsyncPeriodicWork
createListener, doRun, getErrorLoggingLevel, getLogFile, getNormalLoggingLevel, getSlowLoggingLevelMethods inherited from class hudson.model.PeriodicWork
all, initMethods inherited from class hudson.triggers.SafeTimerTask
getLogsRoot, of, runMethods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
-
Constructor Details
-
StartupReport
public StartupReport()
-
-
Method Details
-
get
-
getRecurrencePeriod
public long getRecurrencePeriod()- Specified by:
getRecurrencePeriodin classPeriodicWork
-
getInitialDelay
public long getInitialDelay()- Overrides:
getInitialDelayin classPeriodicWork
-
getTimesPerMilestone
-
onPluginsStarted
-
onExtensionsAugmented
-
onSystemConfigLoaded
-
onSystemConfigAdapted
-
onJobLoaded
-
onJobConfigAdapted
-
execute
- Specified by:
executein classAsyncPeriodicWork- Throws:
IOExceptionInterruptedException
-
getLogs
-