Class BufferedMutatorImpl

java.lang.Object
org.apache.hadoop.hbase.client.BufferedMutatorImpl
All Implemented Interfaces:
Closeable, AutoCloseable, BufferedMutator

@Private @Evolving public class BufferedMutatorImpl extends Object implements BufferedMutator

Used to communicate with a single HBase table similar to Table but meant for batched, potentially asynchronous puts. Obtain an instance from a Connection and call close() afterwards. Provide an alternate to this implementation by setting BufferedMutatorParams.implementationClassName(String) or by setting alternate classname via the key {} in Configuration.

While this can be used across threads, great care should be used when doing so. Errors are global to the buffered mutator and the Exceptions can be thrown on any thread that causes the flush for requests.

Since:
1.0.0
See Also: