|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.oozie.util.InstrumentUtils
public class InstrumentUtils
Instrument utilities.
| Constructor Summary | |
|---|---|
InstrumentUtils()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InstrumentUtils()
| Method Detail |
|---|
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 instance
public static void incrCommandCounter(String name,
int count,
Instrumentation instrumentation)
name - the namecount - the increment countinstrumentation - the Instrumentation instance
public static void incrJobCounter(String name,
int count,
Instrumentation instrumentation)
name - the namecount - the increment countinstrumentation - the Instrumentation instance
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||