public final class RangesConfig
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
KEY_CONCAT |
static java.lang.String |
KEY_FIXED |
static java.lang.String |
KEY_RANDOM |
static java.lang.String |
KEY_THRESHOLD |
| Constructor and Description |
|---|
RangesConfig() |
RangesConfig(RangesConfig other) |
| Modifier and Type | Method and Description |
|---|---|
com.github.akurilov.commons.collection.Range |
getConcat() |
java.util.List<java.lang.String> |
getFixed() |
int |
getRandom() |
com.github.akurilov.commons.system.SizeInBytes |
getThreshold() |
void |
setConcat(com.github.akurilov.commons.collection.Range concat) |
void |
setFixed(java.util.List<java.lang.String> fixed) |
void |
setRandom(int random) |
void |
setThreshold(com.github.akurilov.commons.system.SizeInBytes threshold) |
public static final java.lang.String KEY_CONCAT
public static final java.lang.String KEY_FIXED
public static final java.lang.String KEY_RANDOM
public static final java.lang.String KEY_THRESHOLD
public RangesConfig()
public RangesConfig(RangesConfig other)
public final com.github.akurilov.commons.collection.Range getConcat()
public final void setConcat(com.github.akurilov.commons.collection.Range concat)
public final java.util.List<java.lang.String> getFixed()
public final void setFixed(java.util.List<java.lang.String> fixed)
public final int getRandom()
public final void setRandom(int random)
public final com.github.akurilov.commons.system.SizeInBytes getThreshold()
public final void setThreshold(com.github.akurilov.commons.system.SizeInBytes threshold)