@Extension @Symbol(value="memoryUsage") public final class MemoryUsageMonitor extends PeriodicWork
Modifier and Type | Class and Description |
---|---|
class |
MemoryUsageMonitor.MemoryGroup
A memory group is conceptually a set of memory pools.
|
SafeTimerTask.ExceptionRunnable
ExtensionPoint.LegacyInstancesAreScopedToHudson
Modifier and Type | Field and Description |
---|---|
MemoryUsageMonitor.MemoryGroup |
heap |
MemoryUsageMonitor.MemoryGroup |
nonHeap |
DAY, HOUR, logger, MIN
Constructor and Description |
---|
MemoryUsageMonitor() |
Modifier and Type | Method and Description |
---|---|
protected void |
doRun() |
long |
getRecurrencePeriod()
Gets the number of milliseconds between successive executions.
|
all, getInitialDelay, init
getLogsRoot, of, run
cancel, scheduledExecutionTime
public final MemoryUsageMonitor.MemoryGroup heap
public final MemoryUsageMonitor.MemoryGroup nonHeap
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
protected void doRun()
doRun
in class SafeTimerTask
Copyright © 2004–2021. All rights reserved.