com.hazelcast.internal.metrics
Interface DoubleProbe<S>
- Type Parameters:
S
- the type of the source object.
public interface DoubleProbe<S>
A function that provides a double value and can be used to create a metric using
MetricsRegistry.register(Object, String, DoubleProbe)
Method Summary |
double |
get(S source)
Gets the current value. |
get
double get(S source)
throws Exception
- Gets the current value.
- Parameters:
source
- the source
- Returns:
- the current value.
- Throws:
Exception
- if something fails while getting the value.
Copyright © 2015 Hazelcast, Inc.. All Rights Reserved.