@InterfaceAudience.Private
public interface Instrumentation
Modifier and Type | Interface and Description |
---|---|
static interface |
Instrumentation.Cron |
static interface |
Instrumentation.Variable<T> |
Modifier and Type | Method and Description |
---|---|
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) |
Instrumentation.Cron createCron()
void addCron(String group, String name, Instrumentation.Cron cron)
void addVariable(String group, String name, Instrumentation.Variable<?> variable)
void addSampler(String group, String name, int samplingSize, Instrumentation.Variable<Long> variable)
Copyright © 2008–2019 Apache Software Foundation. All rights reserved.