Package io.split.client.metrics
Class CachedMetrics
java.lang.Object
io.split.client.metrics.CachedMetrics
- All Implemented Interfaces:
Metrics
public class CachedMetrics extends Object implements Metrics
Created by adilaijaz on 9/4/15.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.split.engine.metrics.Metrics
Metrics.NoopMetrics -
Constructor Summary
Constructors Constructor Description CachedMetrics(DTOMetrics httpMetrics, long refreshPeriodInMillis) -
Method Summary
-
Constructor Details
-
Method Details
-
count
Description copied from interface:MetricsAdjusts the specified counter by a given delta.This method is is non-blocking and is guaranteed not to throw an exception.
-
time
Description copied from interface:MetricsRecords an execution time in milliseconds for the specified named operation.This method is non-blocking and is guaranteed not to throw an exception.
-