Interface StatsdSender
- All Superinterfaces:
AutoCloseable,Runnable
Sends statsd messages over an implementation-specific transport.
-
Method Summary
Modifier and TypeMethodDescriptionvoidsubmit(byte[] message) Submit a message to the sender's queue.Methods inherited from interface java.lang.AutoCloseable
close
-
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
-