|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface TotalHeapUsageEmulatorPlugin.HeapUsageEmulatorCore
Defines the core heap usage emulation algorithm. This engine is expected
to perform certain memory intensive operations to consume some
amount of heap. 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.
| Method Summary | |
|---|---|
void |
initialize(org.apache.hadoop.mapreduce.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 |
| Method Detail |
|---|
void load(long sizeInMB)
void initialize(org.apache.hadoop.mapreduce.util.ResourceCalculatorPlugin monitor,
long totalHeapUsageInMB)
void reset()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||