public class UnixDomainSocketChannel
extends java.lang.Object
implements com.lightbend.cinnamon.chmetrics.statsd.StatsDChannel
| Constructor and Description |
|---|
UnixDomainSocketChannel(java.lang.String key,
com.typesafe.config.Config config,
LoggingProvider logging) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
address() |
void |
close() |
boolean |
connect() |
void |
send(java.nio.ByteBuffer datagram) |
public UnixDomainSocketChannel(java.lang.String key,
com.typesafe.config.Config config,
LoggingProvider logging)
throws java.io.IOException
java.io.IOExceptionpublic boolean connect()
connect in interface com.lightbend.cinnamon.chmetrics.statsd.StatsDChannelpublic java.lang.String address()
address in interface com.lightbend.cinnamon.chmetrics.statsd.StatsDChannelpublic void send(java.nio.ByteBuffer datagram)
throws java.io.IOException
send in interface com.lightbend.cinnamon.chmetrics.statsd.StatsDChanneljava.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface com.lightbend.cinnamon.chmetrics.statsd.StatsDChanneljava.io.IOExceptionCinnamon API. Copyright (c) 2015–2021 Lightbend.