|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.foxsmart.csu.config.CiscoRouterConfigParser
com.foxsmart.csu.config.global.policymap.classmap.RandomDetectPrecedenceParams
public class RandomDetectPrecedenceParams
The RandomDetectPrecedenceParam class represents all the parameters that are associated with a policy map random detect precedence.
| Field Summary | |
|---|---|
static java.lang.Integer |
MAX_DENOMINATOR
The maximum mark probability denominator. |
static java.lang.Integer |
MAX_THRESHOLD_PACKETS
The maximum number of packets. |
static java.lang.Integer |
MIN_DENOMINATOR
The minimum mark probability denominator. |
static java.lang.Integer |
MIN_THRESHOLD_PACKETS
The minimum number of packets. |
| Fields inherited from class com.foxsmart.csu.config.CiscoRouterConfigParser |
|---|
log, NO, tokenIndex |
| Constructor Summary | |
|---|---|
RandomDetectPrecedenceParams()
Constructs a bandwidth value object. |
|
| Method Summary | |
|---|---|
java.lang.String |
generateIos()
Generates the IOS statements associated with this "component". |
java.lang.Integer |
getMarkProbabilityDenominator()
Gets the mark probability denominator. |
java.lang.Integer |
getMaxThreshold()
Gets the maximum threshold. |
java.lang.Integer |
getMinThreshold()
Gets the minimum threshold. |
void |
setMarkProbabilityDenominator(java.lang.Integer markProbabilityDenominator)
Sets the mark probability denominator. |
void |
setMaxThreshold(java.lang.Integer maxThreshold)
Sets the maximum threshold (number of packets). |
void |
setMinThreshold(java.lang.Integer minThreshold)
Sets the minimum threshold (number of packets). |
void |
validate()
Validates that this "component" is valid. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.Integer MIN_THRESHOLD_PACKETS
public static final java.lang.Integer MAX_THRESHOLD_PACKETS
public static final java.lang.Integer MIN_DENOMINATOR
public static final java.lang.Integer MAX_DENOMINATOR
| Constructor Detail |
|---|
public RandomDetectPrecedenceParams()
| Method Detail |
|---|
public void setMinThreshold(java.lang.Integer minThreshold)
minThreshold - The minimum threshold.public java.lang.Integer getMinThreshold()
public void setMaxThreshold(java.lang.Integer maxThreshold)
maxThreshold - The maximum threshold.public java.lang.Integer getMaxThreshold()
public void setMarkProbabilityDenominator(java.lang.Integer markProbabilityDenominator)
markProbabilityDenominator - The mark probability denominator.public java.lang.Integer getMarkProbabilityDenominator()
public void validate()
throws InvalidConfigurationException
InvalidConfigurationException - if the configuration is invalid.
public java.lang.String generateIos()
throws InvalidConfigurationException
InvalidConfigurationException - if the configuration is invalid.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||