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 class
Records the initial Jenkins save just after completing the startup reactor.Nested classes/interfaces inherited from class hudson.triggers.SafeTimerTask
SafeTimerTask.ExceptionRunnable
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Fields inherited from class hudson.model.AsyncPeriodicWork
name
Fields inherited from class hudson.model.PeriodicWork
DAY, HOUR, logger, MIN
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
execute
(TaskListener listener) static StartupReport
get()
long
getLogs()
long
void
void
void
void
void
void
Methods inherited from class hudson.model.AsyncPeriodicWork
createListener, doRun, getErrorLoggingLevel, getLogFile, getNormalLoggingLevel, getSlowLoggingLevel
Methods inherited from class hudson.model.PeriodicWork
all, init
Methods inherited from class hudson.triggers.SafeTimerTask
getLogsRoot, of, run
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
-
Constructor Details
-
StartupReport
public StartupReport()
-
-
Method Details
-
get
-
getRecurrencePeriod
public long getRecurrencePeriod()- Specified by:
getRecurrencePeriod
in classPeriodicWork
-
getInitialDelay
public long getInitialDelay()- Overrides:
getInitialDelay
in classPeriodicWork
-
getTimesPerMilestone
-
onPluginsStarted
-
onExtensionsAugmented
-
onSystemConfigLoaded
-
onSystemConfigAdapted
-
onJobLoaded
-
onJobConfigAdapted
-
execute
- Specified by:
execute
in classAsyncPeriodicWork
- Throws:
IOException
InterruptedException
-
getLogs
-