Package | Description |
---|---|
org.apache.hadoop.mapred.gridmix.emulators.resourceusage |
Modifier and Type | Interface and Description |
---|---|
interface |
ResourceUsageEmulatorPlugin
Each resource to be emulated should have a corresponding implementation
class that implements
ResourceUsageEmulatorPlugin . |
Modifier and Type | Class and Description |
---|---|
class |
CumulativeCpuUsageEmulatorPlugin
A
ResourceUsageEmulatorPlugin that emulates the cumulative CPU
usage by performing certain CPU intensive operations. |
class |
ResourceUsageMatcher
This is the driver class for managing all the resource usage emulators.
|
class |
TotalHeapUsageEmulatorPlugin
A
ResourceUsageEmulatorPlugin that emulates the total heap
usage by loading the JVM heap memory. |
Modifier and Type | Method and Description |
---|---|
void |
ResourceUsageMatcher.configure(Configuration conf,
ResourceCalculatorPlugin monitor,
ResourceUsageMetrics metrics,
Progressive progress)
Configure the
ResourceUsageMatcher to load the configured plugins
and initialize them. |
void |
TotalHeapUsageEmulatorPlugin.initialize(Configuration conf,
ResourceUsageMetrics metrics,
ResourceCalculatorPlugin monitor,
Progressive progress) |
void |
ResourceUsageEmulatorPlugin.initialize(Configuration conf,
ResourceUsageMetrics metrics,
ResourceCalculatorPlugin monitor,
Progressive progress)
Initialize the plugin.
|
void |
CumulativeCpuUsageEmulatorPlugin.initialize(Configuration conf,
ResourceUsageMetrics metrics,
ResourceCalculatorPlugin monitor,
Progressive progress) |
Copyright © 2013 Apache Software Foundation. All rights reserved.