public static class TestHStore.MyDefaultStoreFlusher extends org.apache.hadoop.hbase.regionserver.DefaultStoreFlusher
Modifier and Type | Field and Description |
---|---|
protected org.apache.hadoop.conf.Configuration |
conf |
private static AtomicInteger |
counter |
private static AtomicInteger |
failCounter |
protected org.apache.hadoop.hbase.regionserver.HStore |
store |
Constructor and Description |
---|
MyDefaultStoreFlusher(org.apache.hadoop.conf.Configuration conf,
org.apache.hadoop.hbase.regionserver.HStore store) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.hadoop.hbase.regionserver.InternalScanner |
createScanner(List<org.apache.hadoop.hbase.regionserver.KeyValueScanner> arg0,
org.apache.hadoop.hbase.regionserver.FlushLifeCycleTracker arg1) |
protected 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 scanner,
org.apache.hadoop.hbase.regionserver.CellSink sink,
org.apache.hadoop.hbase.regionserver.throttle.ThroughputController throughputController) |
private static final AtomicInteger failCounter
private static final AtomicInteger counter
protected org.apache.hadoop.conf.Configuration conf
protected org.apache.hadoop.hbase.regionserver.HStore store
public MyDefaultStoreFlusher(org.apache.hadoop.conf.Configuration conf, org.apache.hadoop.hbase.regionserver.HStore store)
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
flushSnapshot
in class org.apache.hadoop.hbase.regionserver.DefaultStoreFlusher
IOException
protected void performFlush(org.apache.hadoop.hbase.regionserver.InternalScanner scanner, org.apache.hadoop.hbase.regionserver.CellSink sink, org.apache.hadoop.hbase.regionserver.throttle.ThroughputController throughputController) throws IOException
IOException
protected void finalizeWriter(org.apache.hadoop.hbase.regionserver.StoreFileWriter arg0, long arg1, org.apache.hadoop.hbase.monitoring.MonitoredTask arg2) throws IOException
IOException
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
IOException
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
IOException
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.