Package org.apache.accumulo.test.metrics
Class TestStatsDSink
- java.lang.Object
-
- org.apache.accumulo.test.metrics.TestStatsDSink
-
- All Implemented Interfaces:
Closeable
,AutoCloseable
public class TestStatsDSink extends Object implements Closeable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
TestStatsDSink.Metric
-
Constructor Summary
Constructors Constructor Description TestStatsDSink()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
String
getHost()
String
getLine()
List<String>
getLines()
int
getPort()
static TestStatsDSink.Metric
parseStatsDMetric(String line)
-
-
-
Constructor Detail
-
TestStatsDSink
public TestStatsDSink() throws SocketException
- Throws:
SocketException
-
-
Method Detail
-
parseStatsDMetric
public static TestStatsDSink.Metric parseStatsDMetric(String line)
-
getHost
public String getHost()
-
getPort
public int getPort()
-
getLine
public String getLine()
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
-