Package io.pravega.shared.metrics
Interface MetricListener
-
- All Superinterfaces:
java.lang.AutoCloseable
public interface MetricListener extends java.lang.AutoCloseable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()voidreportFailValue(java.lang.String operation, long value)An operation with the given value failed.voidreportSuccessValue(java.lang.String operation, long value)An operation with the given value succeeded.
-
-
-
Method Detail
-
reportSuccessValue
void reportSuccessValue(java.lang.String operation, long value)An operation with the given value succeeded.- Parameters:
operation- The operationvalue- the value
-
reportFailValue
void reportFailValue(java.lang.String operation, long value)An operation with the given value failed.- Parameters:
operation- The operationvalue- the value
-
close
void close()
- Specified by:
closein interfacejava.lang.AutoCloseable
-
-