Class GraphiteUDP

java.lang.Object
com.codahale.metrics.graphite.GraphiteUDP
All Implemented Interfaces:
GraphiteSender, Closeable, AutoCloseable

public class GraphiteUDP extends Object implements GraphiteSender
A client to a Carbon server using unconnected UDP
  • Constructor Details

    • GraphiteUDP

      public GraphiteUDP(String hostname, int port)
      Creates a new client which sends data to given address using UDP
      Parameters:
      hostname - The hostname of the Carbon server
      port - The port of the Carbon server
    • GraphiteUDP

      public GraphiteUDP(InetSocketAddress address)
      Creates a new client which sends data to given address using UDP
      Parameters:
      address - the address of the Carbon server
  • Method Details