org.apache.hadoop.lib.service
Interface Instrumentation

All Known Implementing Classes:
InstrumentationService

@InterfaceAudience.Private
public interface Instrumentation


Nested Class Summary
static interface Instrumentation.Cron
           
static interface Instrumentation.Variable<T>
           
 
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)
           
 

Method Detail

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.