@InterfaceAudience.LimitedPrivate(value="Configuration") public class ExponentialCompactionWindowFactory extends CompactionWindowFactory
| Modifier and Type | Class and Description |
|---|---|
private class |
ExponentialCompactionWindowFactory.Window |
| Modifier and Type | Field and Description |
|---|---|
static String |
BASE_WINDOW_MILLIS_KEY |
private long |
baseWindowMillis |
private static org.slf4j.Logger |
LOG |
static String |
MAX_TIER_AGE_MILLIS_KEY |
private long |
maxTierAgeMillis |
static String |
WINDOWS_PER_TIER_KEY |
private int |
windowsPerTier |
| Constructor and Description |
|---|
ExponentialCompactionWindowFactory(CompactionConfiguration comConf) |
| Modifier and Type | Method and Description |
|---|---|
private long |
getMaxTierAgeCutoff(long now) |
CompactionWindow |
newIncomingWindow(long now) |
String |
toString() |
private static final org.slf4j.Logger LOG
public static final String BASE_WINDOW_MILLIS_KEY
public static final String WINDOWS_PER_TIER_KEY
public static final String MAX_TIER_AGE_MILLIS_KEY
private final long baseWindowMillis
private final int windowsPerTier
private final long maxTierAgeMillis
public ExponentialCompactionWindowFactory(CompactionConfiguration comConf)
private long getMaxTierAgeCutoff(long now)
public CompactionWindow newIncomingWindow(long now)
newIncomingWindow in class CompactionWindowFactoryCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.