TotalHeapUsageEmulatorPlugin.DefaultHeapUsageEmulatorpublic static interface TotalHeapUsageEmulatorPlugin.HeapUsageEmulatorCore
load(long) should load the current heap and
increase the heap usage by the specified value. This core engine can be
initialized using the initialize(ResourceCalculatorPlugin, long)
API to suit the underlying hardware better.| Modifier and Type | Method | Description |
|---|---|---|
void |
initialize(org.apache.hadoop.yarn.util.ResourceCalculatorPlugin monitor,
long totalHeapUsageInMB) |
Initialize the core.
|
void |
load(long sizeInMB) |
Performs some memory intensive operations to use up some heap.
|
void |
reset() |
Reset the resource usage
|
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.