public class TelnetClient extends Object
| Constructor and Description |
|---|
TelnetClient(String host,
int port) |
| Modifier and Type | Method and Description |
|---|---|
void |
pushMetrics(MetricBuilder builder)
Deprecated.
As of KairosDB 1.0, use putMetrics. PutMetrics uses putm rather
than put.
Sends metrics from the builder to the Kairos server.
|
void |
putMetrics(MetricBuilder builder) |
void |
shutdown()
Closes the socket.
|
public TelnetClient(String host, int port) throws IOException
IOException@Deprecated public void pushMetrics(MetricBuilder builder)
builder - metrics builderpublic void putMetrics(MetricBuilder builder)
public void shutdown()
throws IOException
IOException - if the socket could not be closed.Copyright © 2018. All rights reserved.