public static final class RogLogCompactor.Params extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
PROP_COMPACT_ON_START
Property used to indicate that log compaction should automatically triggered on start
|
static boolean |
PROP_COMPACT_ON_START_DEFAULT |
static String |
PROP_COMPACTION_THRESHOLD
Property used to indicate the log compaction threshold
The log compaction threshold is the size (in megabytes) that
triggers a log compaction.
|
static String |
PROP_COMPACTION_THRESHOLD_DEFAULT |
| Modifier and Type | Method and Description |
|---|---|
static RogLogCompactor.Params |
create(Properties props)
Loads cdc parameters from the give set of log descriptor properties.
|
public static final String PROP_COMPACTION_THRESHOLD
The log compaction threshold is the size (in megabytes) that triggers a log compaction. The act of compacting a log will compact as many complete checkpoints in the log and switch the live log over to the compacted log. A threshold value of <= 0 disables live log compaction.
public static final String PROP_COMPACTION_THRESHOLD_DEFAULT
public static final String PROP_COMPACT_ON_START
public static final boolean PROP_COMPACT_ON_START_DEFAULT
public static RogLogCompactor.Params create(Properties props)
This method looks for properties identifed with with the "compaction." prefix.
props - The properties to load fromCopyright © 2019 N5 Technologies, Inc. All Rights Reserved.