Interface MetricListener

  • All Superinterfaces:
    java.lang.AutoCloseable

    public interface MetricListener
    extends java.lang.AutoCloseable
    • Method Detail

      • reportSuccessValue

        void reportSuccessValue​(java.lang.String operation,
                                long value)
        An operation with the given value succeeded.
        Parameters:
        operation - The operation
        value - the value
      • reportFailValue

        void reportFailValue​(java.lang.String operation,
                             long value)
        An operation with the given value failed.
        Parameters:
        operation - The operation
        value - the value
      • close

        void close()
        Specified by:
        close in interface java.lang.AutoCloseable