public final class DataMemoryLimit
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
long |
absoluteLimit |
double |
ratioLimit |
Constructor and Description |
---|
DataMemoryLimit(DataMemoryLimitType limitType, long absoluteLimit) |
DataMemoryLimit(DataMemoryLimitType limitType, java.lang.String absoluteLimit) |
DataMemoryLimit(DataMemoryLimitType limitType, java.lang.String absoluteLimit, java.lang.Double ratioLimit, boolean isRatioSet) |
Modifier and Type | Method and Description |
---|---|
DataMemoryLimitType |
getType() |
boolean |
isAbsoluteLimitSet() |
long |
toBytes(long parentLimitBytes) |
static void |
validateInput(DataMemoryLimitType limitType, java.lang.String absoluteLimit, java.lang.Double ratioLimit, boolean isRatioSet) |
public DataMemoryLimit(DataMemoryLimitType limitType, long absoluteLimit)
public DataMemoryLimit(DataMemoryLimitType limitType, java.lang.String absoluteLimit)
public DataMemoryLimit(DataMemoryLimitType limitType, java.lang.String absoluteLimit, java.lang.Double ratioLimit, boolean isRatioSet)
public DataMemoryLimitType getType()
public boolean isAbsoluteLimitSet()
public long toBytes(long parentLimitBytes)
public static void validateInput(DataMemoryLimitType limitType, java.lang.String absoluteLimit, java.lang.Double ratioLimit, boolean isRatioSet)