org.apache.hadoop.hbase.regionserver
Interface StoreConfigInformation

All Known Subinterfaces:
Store
All Known Implementing Classes:
HStore

@InterfaceAudience.Private
@InterfaceStability.Unstable
public interface StoreConfigInformation

A more restricted interface for HStore. Only gives the caller access to information about store configuration/settings that cannot easily be obtained from XML config object. Example user would be CompactionPolicy that doesn't need entire (H)Store, only this. Add things here as needed.


Method Summary
 long getBlockingFileCount()
          The number of files required before flushes for this store will be blocked.
 long getCompactionCheckMultiplier()
           
 long getMemstoreFlushSize()
           
 long getStoreFileTtl()
           
 

Method Detail

getMemstoreFlushSize

long getMemstoreFlushSize()
Returns:
Gets the Memstore flush size for the region that this store works with.

getStoreFileTtl

long getStoreFileTtl()
Returns:
Gets the cf-specific time-to-live for store files.

getCompactionCheckMultiplier

long getCompactionCheckMultiplier()
Returns:
Gets the cf-specific compaction check frequency multiplier. The need for compaction (outside of normal checks during flush, open, etc.) will be ascertained every multiplier * HConstants.THREAD_WAKE_FREQUENCY milliseconds.

getBlockingFileCount

long getBlockingFileCount()
The number of files required before flushes for this store will be blocked.



Copyright © 2007–2015 The Apache Software Foundation. All rights reserved.