Package org.kie.internal.conf
Class ConstraintJittingThresholdOption
java.lang.Object
org.kie.internal.conf.ConstraintJittingThresholdOption
- All Implemented Interfaces:
Serializable,KieBaseOption,Option,SingleValueKieBaseOption,SingleValueOption,SingleValueRuleBaseOption
An option to define after how many evaluations in interpreted mode (with mvel)
a constraint should be jitted (translated in bytecode)
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe defualt value for this optionstatic final StringThe property name for the constraint jitting optionFields inherited from interface org.kie.api.conf.SingleValueRuleBaseOption
TYPE -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.kie.api.conf.Option
propertyNameMethods inherited from interface org.kie.api.conf.SingleValueRuleBaseOption
type
-
Field Details
-
PROPERTY_NAME
The property name for the constraint jitting option- See Also:
-
KEY
-
DEFAULT_VALUE
public static final int DEFAULT_VALUEThe defualt value for this option- See Also:
-
-
Method Details
-
get
This is a factory method for this Constraint Jitting Threshold configuration. The factory method is a best practice for the case where the actual object construction is changed in the future.- Parameters:
threshold- the threshold value for the Constraint Jitting option- Returns:
- the actual type safe Constraint Jitting threshold configuration.
-
getPropertyName
- Specified by:
getPropertyNamein interfaceOption
-
getThreshold
public int getThreshold()Returns the threshold value for PermGen- Returns:
-
hashCode
public int hashCode() -
equals
-