Package org.apache.hadoop.hbase.client
Class TestAsyncBufferMutator.AsyncBufferMutatorForTest
java.lang.Object
org.apache.hadoop.hbase.client.TestAsyncBufferMutator.AsyncBufferMutatorForTest
- All Implemented Interfaces:
Closeable
,AutoCloseable
,org.apache.hadoop.hbase.client.AsyncBufferedMutator
- Enclosing class:
- TestAsyncBufferMutator
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
(package private) org.apache.hbase.thirdparty.io.netty.util.Timeout
-
Constructor Summary
ConstructorDescriptionAsyncBufferMutatorForTest
(org.apache.hbase.thirdparty.io.netty.util.HashedWheelTimer periodicalFlushTimer, org.apache.hadoop.hbase.client.AsyncTable<?> table, long writeBufferSize, long periodicFlushTimeoutNs, int maxKeyValueSize) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.hadoop.hbase.client.AsyncBufferedMutator
mutate
-
Field Details
-
flushCount
-
periodicFlushTask
org.apache.hbase.thirdparty.io.netty.util.Timeout periodicFlushTask
-
-
Constructor Details
-
AsyncBufferMutatorForTest
AsyncBufferMutatorForTest(org.apache.hbase.thirdparty.io.netty.util.HashedWheelTimer periodicalFlushTimer, org.apache.hadoop.hbase.client.AsyncTable<?> table, long writeBufferSize, long periodicFlushTimeoutNs, int maxKeyValueSize)
-
-
Method Details
-
internalFlush
-
getName
public org.apache.hadoop.hbase.TableName getName()- Specified by:
getName
in interfaceorg.apache.hadoop.hbase.client.AsyncBufferedMutator
-
getConfiguration
public org.apache.hadoop.conf.Configuration getConfiguration()- Specified by:
getConfiguration
in interfaceorg.apache.hadoop.hbase.client.AsyncBufferedMutator
-
mutate
public List<CompletableFuture<Void>> mutate(List<? extends org.apache.hadoop.hbase.client.Mutation> arg0) - Specified by:
mutate
in interfaceorg.apache.hadoop.hbase.client.AsyncBufferedMutator
-
flush
public void flush()- Specified by:
flush
in interfaceorg.apache.hadoop.hbase.client.AsyncBufferedMutator
-
close
public void close()- Specified by:
close
in interfaceorg.apache.hadoop.hbase.client.AsyncBufferedMutator
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
-
getWriteBufferSize
public long getWriteBufferSize()- Specified by:
getWriteBufferSize
in interfaceorg.apache.hadoop.hbase.client.AsyncBufferedMutator
-
getPeriodicalFlushTimeout
- Specified by:
getPeriodicalFlushTimeout
in interfaceorg.apache.hadoop.hbase.client.AsyncBufferedMutator
-