org.apache.hadoop.hbase.regionserver.compactions
Class ExponentialCompactionWindowFactory

java.lang.Object
  extended by org.apache.hadoop.hbase.regionserver.compactions.CompactionWindowFactory
      extended by org.apache.hadoop.hbase.regionserver.compactions.ExponentialCompactionWindowFactory

@InterfaceAudience.LimitedPrivate(value="Configuration")
public class ExponentialCompactionWindowFactory
extends CompactionWindowFactory

Exponential compaction window implementation.


Field Summary
static String BASE_WINDOW_MILLIS_KEY
           
static String MAX_TIER_AGE_MILLIS_KEY
           
static String WINDOWS_PER_TIER_KEY
           
 
Constructor Summary
ExponentialCompactionWindowFactory(CompactionConfiguration comConf)
           
 
Method Summary
 CompactionWindow newIncomingWindow(long now)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

BASE_WINDOW_MILLIS_KEY

public static final String BASE_WINDOW_MILLIS_KEY
See Also:
Constant Field Values

WINDOWS_PER_TIER_KEY

public static final String WINDOWS_PER_TIER_KEY
See Also:
Constant Field Values

MAX_TIER_AGE_MILLIS_KEY

public static final String MAX_TIER_AGE_MILLIS_KEY
See Also:
Constant Field Values
Constructor Detail

ExponentialCompactionWindowFactory

public ExponentialCompactionWindowFactory(CompactionConfiguration comConf)
Method Detail

newIncomingWindow

public CompactionWindow newIncomingWindow(long now)
Specified by:
newIncomingWindow in class CompactionWindowFactory

toString

public String toString()
Overrides:
toString in class Object


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