public 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 and Description |
---|---|
void |
initialize(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
|
void load(long sizeInMB)
void initialize(ResourceCalculatorPlugin monitor, long totalHeapUsageInMB)
void reset()
Copyright © 2013 Apache Software Foundation. All rights reserved.