类的使用
com.cnosdb.impl.BatchProcessor.Builder
使用BatchProcessor.Builder的程序包
-
com.cnosdb.impl中BatchProcessor.Builder的使用
修饰符和类型方法说明BatchProcessor.Builder.actions(int maxActions) The number of actions after which a batchwrite must be performed.BatchProcessor.Builder.bufferLimit(int bufferLimit) A buffer for failed writes so that the writes will be retried later on.static BatchProcessor.BuilderStatic method to create the Builder for this BatchProcessor.BatchProcessor.Builder.consistencyLevel(CnosDB.ConsistencyLevel consistencyLevel) Consistency level for batch write.BatchProcessor.Builder.dropActionsOnQueueExhaustion(boolean dropActionsOnQueueExhaustion) To define the behaviour when the action queue exhausts.BatchProcessor.Builder.droppedActionHandler(Consumer<Point> handler) A callback to be used when an actions are dropped on action queue exhaustion.BatchProcessor.Builder.exceptionHandler(BiConsumer<Iterable<Point>, Throwable> handler) A callback to be used when an error occurs during a batchwrite.The interval at which at least should issued a write.The interval at which at least should issued a write.Set the time precision to use for the batch.BatchProcessor.Builder.threadFactory(ThreadFactory threadFactory)