@InterfaceAudience.Private public class DefaultStoreFlusher extends StoreFlusher
| Modifier and Type | Field and Description | 
|---|---|
| private Object | flushLock | 
| private static org.slf4j.Logger | LOG | 
conf, store| Constructor and Description | 
|---|
| DefaultStoreFlusher(org.apache.hadoop.conf.Configuration conf,
                   HStore store) | 
| Modifier and Type | Method and Description | 
|---|---|
| List<org.apache.hadoop.fs.Path> | flushSnapshot(MemStoreSnapshot snapshot,
             long cacheFlushId,
             MonitoredTask status,
             ThroughputController throughputController,
             FlushLifeCycleTracker tracker)Turns a snapshot of memstore into a set of store files. | 
createScanner, finalizeWriter, performFlushpublic DefaultStoreFlusher(org.apache.hadoop.conf.Configuration conf, HStore store)
public List<org.apache.hadoop.fs.Path> flushSnapshot(MemStoreSnapshot snapshot, long cacheFlushId, MonitoredTask status, ThroughputController throughputController, FlushLifeCycleTracker tracker) throws IOException
StoreFlusherflushSnapshot in class StoreFlushersnapshot - Memstore snapshot.cacheFlushId - Log cache flush sequence number.status - Task that represents the flush operation and may be updated with status.throughputController - A controller to avoid flush too fastIOExceptionCopyright © 2007–2021 The Apache Software Foundation. All rights reserved.