Class TimeWindowCompactionStrategyOptions
- java.lang.Object
-
- org.apache.cassandra.db.compaction.TimeWindowCompactionStrategyOptions
-
public final class TimeWindowCompactionStrategyOptions extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
COMPACTION_WINDOW_SIZE_KEY
static java.lang.String
COMPACTION_WINDOW_UNIT_KEY
protected static int
DEFAULT_COMPACTION_WINDOW_SIZE
protected static java.util.concurrent.TimeUnit
DEFAULT_COMPACTION_WINDOW_UNIT
protected static int
DEFAULT_EXPIRED_SSTABLE_CHECK_FREQUENCY_SECONDS
protected static java.util.concurrent.TimeUnit
DEFAULT_TIMESTAMP_RESOLUTION
protected static java.lang.Boolean
DEFAULT_UNSAFE_AGGRESSIVE_SSTABLE_EXPIRATION
static java.lang.String
EXPIRED_SSTABLE_CHECK_FREQUENCY_SECONDS_KEY
protected long
expiredSSTableCheckFrequency
protected boolean
ignoreOverlaps
protected int
sstableWindowSize
protected java.util.concurrent.TimeUnit
sstableWindowUnit
static java.lang.String
TIMESTAMP_RESOLUTION_KEY
protected java.util.concurrent.TimeUnit
timestampResolution
static java.lang.String
UNSAFE_AGGRESSIVE_SSTABLE_EXPIRATION_KEY
protected static com.google.common.collect.ImmutableList<java.util.concurrent.TimeUnit>
validTimestampTimeUnits
protected static com.google.common.collect.ImmutableList<java.util.concurrent.TimeUnit>
validWindowTimeUnits
-
Constructor Summary
Constructors Constructor Description TimeWindowCompactionStrategyOptions()
TimeWindowCompactionStrategyOptions(java.util.Map<java.lang.String,java.lang.String> options)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.Map<java.lang.String,java.lang.String>
validateOptions(java.util.Map<java.lang.String,java.lang.String> options, java.util.Map<java.lang.String,java.lang.String> uncheckedOptions)
-
-
-
Field Detail
-
DEFAULT_TIMESTAMP_RESOLUTION
protected static final java.util.concurrent.TimeUnit DEFAULT_TIMESTAMP_RESOLUTION
-
DEFAULT_COMPACTION_WINDOW_UNIT
protected static final java.util.concurrent.TimeUnit DEFAULT_COMPACTION_WINDOW_UNIT
-
DEFAULT_COMPACTION_WINDOW_SIZE
protected static final int DEFAULT_COMPACTION_WINDOW_SIZE
- See Also:
- Constant Field Values
-
DEFAULT_EXPIRED_SSTABLE_CHECK_FREQUENCY_SECONDS
protected static final int DEFAULT_EXPIRED_SSTABLE_CHECK_FREQUENCY_SECONDS
- See Also:
- Constant Field Values
-
DEFAULT_UNSAFE_AGGRESSIVE_SSTABLE_EXPIRATION
protected static final java.lang.Boolean DEFAULT_UNSAFE_AGGRESSIVE_SSTABLE_EXPIRATION
-
TIMESTAMP_RESOLUTION_KEY
public static final java.lang.String TIMESTAMP_RESOLUTION_KEY
- See Also:
- Constant Field Values
-
COMPACTION_WINDOW_UNIT_KEY
public static final java.lang.String COMPACTION_WINDOW_UNIT_KEY
- See Also:
- Constant Field Values
-
COMPACTION_WINDOW_SIZE_KEY
public static final java.lang.String COMPACTION_WINDOW_SIZE_KEY
- See Also:
- Constant Field Values
-
EXPIRED_SSTABLE_CHECK_FREQUENCY_SECONDS_KEY
public static final java.lang.String EXPIRED_SSTABLE_CHECK_FREQUENCY_SECONDS_KEY
- See Also:
- Constant Field Values
-
UNSAFE_AGGRESSIVE_SSTABLE_EXPIRATION_KEY
public static final java.lang.String UNSAFE_AGGRESSIVE_SSTABLE_EXPIRATION_KEY
- See Also:
- Constant Field Values
-
sstableWindowSize
protected final int sstableWindowSize
-
sstableWindowUnit
protected final java.util.concurrent.TimeUnit sstableWindowUnit
-
timestampResolution
protected final java.util.concurrent.TimeUnit timestampResolution
-
expiredSSTableCheckFrequency
protected final long expiredSSTableCheckFrequency
-
ignoreOverlaps
protected final boolean ignoreOverlaps
-
validTimestampTimeUnits
protected static final com.google.common.collect.ImmutableList<java.util.concurrent.TimeUnit> validTimestampTimeUnits
-
validWindowTimeUnits
protected static final com.google.common.collect.ImmutableList<java.util.concurrent.TimeUnit> validWindowTimeUnits
-
-
Method Detail
-
validateOptions
public static java.util.Map<java.lang.String,java.lang.String> validateOptions(java.util.Map<java.lang.String,java.lang.String> options, java.util.Map<java.lang.String,java.lang.String> uncheckedOptions) throws ConfigurationException
- Throws:
ConfigurationException
-
-