public class InfluxDb09Driver extends Object
| Constructor and Description |
|---|
InfluxDb09Driver(IHttpClientComponent httpClient,
String endpoint,
String username,
String password,
String database,
String retentionPolicy,
String timePrecision) |
| Modifier and Type | Method and Description |
|---|---|
protected <T> void |
handleError(IAsyncResult<IHttpClientResponse> result,
IAsyncResultHandler<T> handler) |
void |
listDatabases(IAsyncResultHandler<List<String>> handler)
List all databases
|
void |
write(String lineDocument,
IAsyncHandler<InfluxException> failureHandler)
Simple write to "/write".
|
public void write(String lineDocument, IAsyncHandler<InfluxException> failureHandler)
lineDocument - document to write, as stringfailureHandler - handler in case of failurepublic void listDatabases(IAsyncResultHandler<List<String>> handler)
handler - the result handlerprotected <T> void handleError(IAsyncResult<IHttpClientResponse> result, IAsyncResultHandler<T> handler)
Copyright © 2015 JBoss, a division of Red Hat. All rights reserved.