THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
/**
* Write a set of Points to the influxdb database with the new (>= 0.9.0rc32) lineprotocol.
*
* If batching is enabled with appropriate {@code BatchOptions} settings
* ({@code BatchOptions.bufferLimit} greater than {@code BatchOptions.actions})
* This method will try to retry in case of some recoverable errors.
* Otherwise it just works as {@link #write(BatchPoints)}
*/
public void writeWithRetry(final BatchPoints batchPoints);
2. setLogLevel() (无需适配)
write函数绝大多数接口已经实现,目前还有一个写入重试的接口未开始实现:
...
/**
* Set the loglevel which is used for REST related actions.
*/
public InfluxDB setLogLevel(final LogLevel logLevel);
3. enableGzip() (无需适配)
/**
* Enable Gzip compress for http request body.
*/
public InfluxDB enableGzip();
4. disableGzip() (无需适配)
/**
* Enable Gzip compress for http request body.
*/
public InfluxDB enableGzip();
4. isGzipEnabled() (无需适配)
/**
* Returns whether Gzip compress for http request body is enabled.
*/
public boolean isGzipEnabled();
...