Class ConfigurationRuntimeMatchRecognize
java.lang.Object
com.espertech.esper.common.client.configuration.runtime.ConfigurationRuntimeMatchRecognize
- All Implemented Interfaces:
Serializable
Holds match-recognize settings.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the maximum number of statesboolean
Returns true, the default, to indicate that if there is a maximum defined it is being enforced and new states are not allowed.void
setMaxStates
(Long maxStates) Sets the maximum number of statesvoid
setMaxStatesPreventStart
(boolean maxStatesPreventStart) Set to true, the default, to indicate that if there is a maximum defined it is being enforced and new states are not allowed.
-
Constructor Details
-
ConfigurationRuntimeMatchRecognize
public ConfigurationRuntimeMatchRecognize()
-
-
Method Details
-
getMaxStates
Returns the maximum number of states- Returns:
- state count
-
setMaxStates
Sets the maximum number of states- Parameters:
maxStates
- state count
-
isMaxStatesPreventStart
public boolean isMaxStatesPreventStart()Returns true, the default, to indicate that if there is a maximum defined it is being enforced and new states are not allowed.- Returns:
- indicate whether enforced or not
-
setMaxStatesPreventStart
public void setMaxStatesPreventStart(boolean maxStatesPreventStart) Set to true, the default, to indicate that if there is a maximum defined it is being enforced and new states are not allowed.- Parameters:
maxStatesPreventStart
- indicate whether enforced or not
-