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