@Extension 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.
|
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, initruncancel, scheduledExecutionTimepublic final MemoryUsageMonitor.MemoryGroup heap
public final MemoryUsageMonitor.MemoryGroup nonHeap
public long getRecurrencePeriod()
PeriodicWorkHudson 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 PeriodicWorkprotected void doRun()
doRun in class SafeTimerTaskCopyright © 2019. All rights reserved.