public class StepRecord extends Object
Constructor and Description |
---|
StepRecord(XMetricsCollector metricsCollector) |
Modifier and Type | Method and Description |
---|---|
void |
addMetricsTemplate(MetricsTemplate metricsTemplate) |
(package private) void |
deactivate() |
(package private) void |
decrement(String entityId,
int stream) |
(package private) void |
decrementCounterMap(String entityId,
int stream,
String mapKey) |
Map<String,MetricsTemplate> |
getMetricsTemplateMap() |
(package private) void |
increment(String entityId,
int stream) |
(package private) void |
incrementCounterMap(String entityId,
int stream,
String mapKey) |
boolean |
isExpired() |
StepRecord |
newRecord() |
(package private) void |
pushGauge(String entityId,
int stream,
double value) |
Optional<StepRecord> |
use(long expiresAt) |
public StepRecord(XMetricsCollector metricsCollector)
public Optional<StepRecord> use(long expiresAt)
public boolean isExpired()
void deactivate()
void pushGauge(String entityId, int stream, double value)
void increment(String entityId, int stream)
void decrement(String entityId, int stream)
public StepRecord newRecord()
public void addMetricsTemplate(MetricsTemplate metricsTemplate)
public Map<String,MetricsTemplate> getMetricsTemplateMap()
Copyright © 2016–2019 AdroitLogic. All rights reserved.