co.cask.tigon.app.metrics
Class AbstractProgramMetrics
java.lang.Object
co.cask.tigon.app.metrics.AbstractProgramMetrics
- All Implemented Interfaces:
- co.cask.tigon.api.metrics.Metrics
- Direct Known Subclasses:
- FlowletMetrics
public abstract class AbstractProgramMetrics
- extends Object
- implements co.cask.tigon.api.metrics.Metrics
Base class for defining implementation of Metrics for different type of runtime context.
Metrics will be emitted through MetricsCollectionService.
|
Method Summary |
void |
count(String counterName,
int delta)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractProgramMetrics
protected AbstractProgramMetrics(co.cask.tigon.metrics.MetricsCollector metricsCollector)
count
public void count(String counterName,
int delta)
- Specified by:
count in interface co.cask.tigon.api.metrics.Metrics
Copyright © 2014 Cask Data, Inc. Licensed under the Apache License, Version 2.0.