org.apache.hadoop.lib.service
Interface Instrumentation
- All Known Implementing Classes:
- InstrumentationService
@InterfaceAudience.Private
public interface Instrumentation
Method Summary |
void |
addCron(String group,
String name,
Instrumentation.Cron cron)
|
void |
addSampler(String group,
String name,
int samplingSize,
Instrumentation.Variable<Long> variable)
|
void |
addVariable(String group,
String name,
Instrumentation.Variable<?> variable)
|
Instrumentation.Cron |
createCron()
|
Map<String,Map<String,?>> |
getSnapshot()
|
void |
incr(String group,
String name,
long count)
|
createCron
Instrumentation.Cron createCron()
incr
void incr(String group,
String name,
long count)
addCron
void addCron(String group,
String name,
Instrumentation.Cron cron)
addVariable
void addVariable(String group,
String name,
Instrumentation.Variable<?> variable)
addSampler
void addSampler(String group,
String name,
int samplingSize,
Instrumentation.Variable<Long> variable)
getSnapshot
Map<String,Map<String,?>> getSnapshot()
Copyright © 2014 Apache Software Foundation. All Rights Reserved.