Class AbstractTestWALReplay.CustomStoreFlusher
java.lang.Object
org.apache.hadoop.hbase.regionserver.DefaultStoreFlusher
org.apache.hadoop.hbase.regionserver.wal.AbstractTestWALReplay.CustomStoreFlusher
- Enclosing class:
- AbstractTestWALReplay
public static class AbstractTestWALReplay.CustomStoreFlusher
extends org.apache.hadoop.hbase.regionserver.DefaultStoreFlusher
-
Field Summary
Modifier and TypeFieldDescriptionprotected org.apache.hadoop.conf.Configuration
protected org.apache.hadoop.hbase.regionserver.HStore
static final AtomicBoolean
-
Constructor Summary
ConstructorDescriptionCustomStoreFlusher
(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.regionserver.HStore store) -
Method Summary
Modifier and TypeMethodDescriptionprotected final org.apache.hadoop.hbase.regionserver.InternalScanner
createScanner
(List<org.apache.hadoop.hbase.regionserver.KeyValueScanner> arg0, org.apache.hadoop.hbase.regionserver.FlushLifeCycleTracker arg1) protected final org.apache.hadoop.hbase.regionserver.StoreFileWriter
createWriter
(org.apache.hadoop.hbase.regionserver.MemStoreSnapshot arg0, boolean arg1, Consumer<org.apache.hadoop.fs.Path> arg2) protected void
finalizeWriter
(org.apache.hadoop.hbase.regionserver.StoreFileWriter arg0, long arg1, org.apache.hadoop.hbase.monitoring.MonitoredTask arg2) List<org.apache.hadoop.fs.Path>
flushSnapshot
(org.apache.hadoop.hbase.regionserver.MemStoreSnapshot snapshot, long cacheFlushId, org.apache.hadoop.hbase.monitoring.MonitoredTask status, org.apache.hadoop.hbase.regionserver.throttle.ThroughputController throughputController, org.apache.hadoop.hbase.regionserver.FlushLifeCycleTracker tracker, Consumer<org.apache.hadoop.fs.Path> writerCreationTracker) protected void
performFlush
(org.apache.hadoop.hbase.regionserver.InternalScanner arg0, org.apache.hadoop.hbase.regionserver.CellSink arg1, org.apache.hadoop.hbase.regionserver.throttle.ThroughputController arg2)
-
Field Details
-
throwExceptionWhenFlushing
-
conf
protected org.apache.hadoop.conf.Configuration conf -
store
protected org.apache.hadoop.hbase.regionserver.HStore store
-
-
Constructor Details
-
CustomStoreFlusher
public CustomStoreFlusher(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.regionserver.HStore store)
-
-
Method Details
-
flushSnapshot
public List<org.apache.hadoop.fs.Path> flushSnapshot(org.apache.hadoop.hbase.regionserver.MemStoreSnapshot snapshot, long cacheFlushId, org.apache.hadoop.hbase.monitoring.MonitoredTask status, org.apache.hadoop.hbase.regionserver.throttle.ThroughputController throughputController, org.apache.hadoop.hbase.regionserver.FlushLifeCycleTracker tracker, Consumer<org.apache.hadoop.fs.Path> writerCreationTracker) throws IOException - Overrides:
flushSnapshot
in classorg.apache.hadoop.hbase.regionserver.DefaultStoreFlusher
- Throws:
IOException
-
finalizeWriter
protected void finalizeWriter(org.apache.hadoop.hbase.regionserver.StoreFileWriter arg0, long arg1, org.apache.hadoop.hbase.monitoring.MonitoredTask arg2) throws IOException - Throws:
IOException
-
createWriter
protected final org.apache.hadoop.hbase.regionserver.StoreFileWriter createWriter(org.apache.hadoop.hbase.regionserver.MemStoreSnapshot arg0, boolean arg1, Consumer<org.apache.hadoop.fs.Path> arg2) throws IOException - Throws:
IOException
-
createScanner
protected final org.apache.hadoop.hbase.regionserver.InternalScanner createScanner(List<org.apache.hadoop.hbase.regionserver.KeyValueScanner> arg0, org.apache.hadoop.hbase.regionserver.FlushLifeCycleTracker arg1) throws IOException - Throws:
IOException
-
performFlush
protected void performFlush(org.apache.hadoop.hbase.regionserver.InternalScanner arg0, org.apache.hadoop.hbase.regionserver.CellSink arg1, org.apache.hadoop.hbase.regionserver.throttle.ThroughputController arg2) throws IOException - Throws:
IOException
-