Interface RemoteStreamMetrics


public interface RemoteStreamMetrics
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Invoked after a stream is successfully added to the registry
     
    default void
    Invoked if pushing a payload to a stream failed
    default void
    Invoked after a payload is successfully pushed to a stream
    default void
    Invoked when a push failed, once per remote attempt
    default void
    Invoked after a stream is removed from registry
  • Method Details

    • addStream

      default void addStream()
      Invoked after a stream is successfully added to the registry
    • removeStream

      default void removeStream()
      Invoked after a stream is removed from registry
    • pushSucceeded

      default void pushSucceeded()
      Invoked after a payload is successfully pushed to a stream
    • pushFailed

      default void pushFailed()
      Invoked if pushing a payload to a stream failed
    • pushTryFailed

      default void pushTryFailed(ErrorCode code)
      Invoked when a push failed, once per remote attempt
      Parameters:
      code - the error code for the given attempt
    • noop

      static RemoteStreamMetrics noop()