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) |
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)
protected void internalFlush()
public org.apache.hadoop.hbase.TableName getName()
getName
in interface org.apache.hadoop.hbase.client.AsyncBufferedMutator
public org.apache.hadoop.conf.Configuration getConfiguration()
getConfiguration
in interface org.apache.hadoop.hbase.client.AsyncBufferedMutator
public List<CompletableFuture<Void>> mutate(List<? extends org.apache.hadoop.hbase.client.Mutation> arg0)
mutate
in interface org.apache.hadoop.hbase.client.AsyncBufferedMutator
public void flush()
flush
in interface org.apache.hadoop.hbase.client.AsyncBufferedMutator
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in interface org.apache.hadoop.hbase.client.AsyncBufferedMutator
public long getWriteBufferSize()
getWriteBufferSize
in interface org.apache.hadoop.hbase.client.AsyncBufferedMutator
public long getPeriodicalFlushTimeout(TimeUnit arg0)
getPeriodicalFlushTimeout
in interface org.apache.hadoop.hbase.client.AsyncBufferedMutator
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.