src/main/java/org/influxdb/InfluxDB.java
InfluxDB
has 50 methods (exceeds 20 allowed). Consider refactoring. Open
Open
public interface InfluxDB extends AutoCloseable {
/**
* The system property key to set the http logging level across the JVM.
* @see LogLevel for available values
Method enableBatch
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
InfluxDB enableBatch(int actions, int flushDuration, TimeUnit flushDurationTimeUnit,
ThreadFactory threadFactory, BiConsumer<Iterable<Point>, Throwable> exceptionHandler,
ConsistencyLevel consistency);
Method createRetentionPolicy
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public void createRetentionPolicy(final String rpName, final String database, final String duration,
final String shardDuration, final int replicationFactor, final boolean isDefault);
Method enableBatch
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public InfluxDB enableBatch(final int actions, final int flushDuration, final TimeUnit flushDurationTimeUnit,
final ThreadFactory threadFactory,
final BiConsumer<Iterable<Point>, Throwable> exceptionHandler);
Method write
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public void write(final String database, final String retentionPolicy,
final ConsistencyLevel consistency, final TimeUnit precision, final List<String> records);
Method createRetentionPolicy
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public void createRetentionPolicy(final String rpName, final String database, final String duration,
final String shardDuration, final int replicationFactor);
Method query
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public void query(Query query, int chunkSize, BiConsumer<Cancellable, QueryResult> onNext, Runnable onComplete,
Consumer<Throwable> onFailure);
Method createRetentionPolicy
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public void createRetentionPolicy(final String rpName, final String database, final String duration,
final int replicationFactor, final boolean isDefault);
Method write
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public void write(final String database, final String retentionPolicy,
final ConsistencyLevel consistency, final TimeUnit precision, final String records);