Interface StatsdSender

All Superinterfaces:
AutoCloseable, Runnable

public interface StatsdSender extends AutoCloseable, Runnable
Sends statsd messages over an implementation-specific transport.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    submit(byte[] message)
    Submit a message to the sender's queue.

    Methods inherited from interface java.lang.AutoCloseable

    close

    Methods inherited from interface java.lang.Runnable

    run
  • Method Details

    • submit

      void submit(byte[] message)
      Submit a message to the sender's queue.

      This method should never block.

      Parameters:
      message - message
      Throws:
      IllegalStateException - if the sender is not started