public class MockStageMetrics extends Object implements StageMetrics
| Constructor and Description |
|---|
MockStageMetrics(String stageName) |
| Modifier and Type | Method and Description |
|---|---|
void |
count(String s,
int i) |
void |
gauge(String s,
long l) |
int |
getCount(String s) |
long |
getGauge(String s) |
int |
getPipelineCount(String s) |
long |
getPipelineGauge(String s) |
void |
pipelineCount(String s,
int i) |
void |
pipelineGauge(String s,
long l) |
public MockStageMetrics(String stageName)
public void count(String s, int i)
count in interface Metricscount in interface StageMetricspublic void gauge(String s, long l)
gauge in interface Metricsgauge in interface StageMetricspublic void pipelineCount(String s, int i)
pipelineCount in interface StageMetricspublic void pipelineGauge(String s, long l)
pipelineGauge in interface StageMetricspublic int getPipelineCount(String s)
public long getPipelineGauge(String s)
public int getCount(String s)
public long getGauge(String s)
Copyright © 2017 Cask Data, Inc. Licensed under the Apache License, Version 2.0.