public class MeteringAgent extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
MeteringAgent.Context
Timer.Context with a specific operation.
|
| Constructor and Description |
|---|
MeteringAgent(String primitiveName,
String objName,
boolean activated)
Constructs a new MeteringAgent for a given distributed primitive.
|
| Modifier and Type | Method and Description |
|---|---|
MeteringAgent.Context |
startTimer(String op)
Initializes a specific timer for a given operation.
|
public MeteringAgent(String primitiveName, String objName, boolean activated)
primitiveName - Type of primitive to be meteredobjName - Global name of the primitiveactivated - boolean flag for whether metering is enabled or notpublic MeteringAgent.Context startTimer(String op)
op - Specific operation being metered