Package io.dropwizard.metrics5.collectd
Class Sender
- java.lang.Object
-
- io.dropwizard.metrics5.collectd.Sender
-
public class Sender extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconnect()voiddisconnect()booleanisConnected()voidsend(ByteBuffer buffer)
-
-
-
Constructor Detail
-
Sender
public Sender(String host, int port)
-
-
Method Detail
-
connect
public void connect() throws IOException- Throws:
IOException
-
isConnected
public boolean isConnected()
-
send
public void send(ByteBuffer buffer) throws IOException
- Throws:
IOException
-
disconnect
public void disconnect() throws IOException- Throws:
IOException
-
-