private static final class TestAsyncBufferMutator.AsyncBufferMutatorForTest extends Object
| Modifier and Type | Field and Description | 
|---|---|
| private int | flushCount | 
| (package private) org.apache.hbase.thirdparty.io.netty.util.Timeout | periodicFlushTask | 
| Constructor and Description | 
|---|
| AsyncBufferMutatorForTest(org.apache.hbase.thirdparty.io.netty.util.HashedWheelTimer periodicalFlushTimer,
                         org.apache.hadoop.hbase.client.AsyncTable<?> table,
                         long writeBufferSize,
                         long periodicFlushTimeoutNs,
                         int maxKeyValueSize) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | close() | 
| void | flush() | 
| org.apache.hadoop.conf.Configuration | getConfiguration() | 
| org.apache.hadoop.hbase.TableName | getName() | 
| long | getPeriodicalFlushTimeout(TimeUnit arg0) | 
| long | getWriteBufferSize() | 
| protected void | internalFlush() | 
| List<CompletableFuture<Void>> | mutate(List<? extends org.apache.hadoop.hbase.client.Mutation> arg0) | 
private int flushCount
org.apache.hbase.thirdparty.io.netty.util.Timeout periodicFlushTask
AsyncBufferMutatorForTest(org.apache.hbase.thirdparty.io.netty.util.HashedWheelTimer periodicalFlushTimer, org.apache.hadoop.hbase.client.AsyncTable<?> table, long writeBufferSize, long periodicFlushTimeoutNs, int maxKeyValueSize)
protected void internalFlush()
public org.apache.hadoop.hbase.TableName getName()
getName in interface org.apache.hadoop.hbase.client.AsyncBufferedMutatorpublic org.apache.hadoop.conf.Configuration getConfiguration()
getConfiguration in interface org.apache.hadoop.hbase.client.AsyncBufferedMutatorpublic List<CompletableFuture<Void>> mutate(List<? extends org.apache.hadoop.hbase.client.Mutation> arg0)
mutate in interface org.apache.hadoop.hbase.client.AsyncBufferedMutatorpublic void flush()
flush in interface org.apache.hadoop.hbase.client.AsyncBufferedMutatorpublic void close()
close in interface Closeableclose in interface AutoCloseableclose in interface org.apache.hadoop.hbase.client.AsyncBufferedMutatorpublic long getWriteBufferSize()
getWriteBufferSize in interface org.apache.hadoop.hbase.client.AsyncBufferedMutatorpublic long getPeriodicalFlushTimeout(TimeUnit arg0)
getPeriodicalFlushTimeout in interface org.apache.hadoop.hbase.client.AsyncBufferedMutatorCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.