public class InstrumentUtils extends Object
Constructor and Description |
---|
InstrumentUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
incrCommandCounter(String name,
int count,
Instrumentation instrumentation)
Used to increment command counters.
|
static void |
incrCounter(String group,
String name,
int count,
Instrumentation instrumentation)
Convenience method to increment counters.
|
static void |
incrJobCounter(String name,
int count,
Instrumentation instrumentation)
Used to increment job counters.
|
public InstrumentUtils()
public static void incrCounter(String group, String name, int count, Instrumentation instrumentation)
group
- the group name.name
- the counter name.count
- increment count.instrumentation
- the Instrumentation
instancepublic static void incrCommandCounter(String name, int count, Instrumentation instrumentation)
name
- the namecount
- the increment countinstrumentation
- the Instrumentation
instancepublic static void incrJobCounter(String name, int count, Instrumentation instrumentation)
name
- the namecount
- the increment countinstrumentation
- the Instrumentation
instanceCopyright © 2018 Apache Software Foundation. All rights reserved.