Class ConfigurationRuntimeExecution

java.lang.Object
com.espertech.esper.common.client.configuration.runtime.ConfigurationRuntimeExecution
All Implemented Interfaces:
Serializable

public class ConfigurationRuntimeExecution extends Object implements Serializable
Holds runtime execution-related settings.
See Also:
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    Ctor - sets up defaults.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    Returns the cache size for declared expression values
    Returns the filter service profile for tuning filtering operations.
    boolean
    Returns indicator whether statement-level locks are disabled.
    boolean
    Returns true for fair locking, false for unfair locks.
    boolean
    Returns false (the default) if the runtime does not consider insert-into event-precedence, or true to enable insert-into event-precedence execution order of inserted events.
    boolean
    Returns false (the default) if the runtime does not consider statement priority and preemptive instructions, or true to enable priority-based statement execution order.
    void
    setDeclaredExprValueCacheSize(int declaredExprValueCacheSize)
    Sets the cache size for declared expression values
    void
    setDisableLocking(boolean disableLocking)
    Set to true to indicate that statement-level locks are disabled.
    void
    setFairlock(boolean fairlock)
    Set to true for fair locking, false for unfair locks.
    void
    Set the filter service profile for tuning filtering operations.
    void
    setPrecedenceEnabled(boolean precedenceEnabled)
    Set to false (the default) if the runtime does not consider insert-into event-precedence, or true to enable insert-into event-precedence execution order of inserted events.
    void
    setPrioritized(boolean prioritized)
    Set to false (the default) if the runtime does not consider statement priority and preemptive instructions, or true for enable priority-based statement execution order.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ConfigurationRuntimeExecution

      protected ConfigurationRuntimeExecution()
      Ctor - sets up defaults.
  • Method Details

    • isPrioritized

      public boolean isPrioritized()
      Returns false (the default) if the runtime does not consider statement priority and preemptive instructions, or true to enable priority-based statement execution order.
      Returns:
      false by default to indicate unprioritized statement execution
    • setPrioritized

      public void setPrioritized(boolean prioritized)
      Set to false (the default) if the runtime does not consider statement priority and preemptive instructions, or true for enable priority-based statement execution order.
      Parameters:
      prioritized - false by default to indicate unprioritized statement execution
    • isFairlock

      public boolean isFairlock()
      Returns true for fair locking, false for unfair locks.
      Returns:
      fairness flag
    • setFairlock

      public void setFairlock(boolean fairlock)
      Set to true for fair locking, false for unfair locks.
      Parameters:
      fairlock - fairness flag
    • isDisableLocking

      public boolean isDisableLocking()
      Returns indicator whether statement-level locks are disabled. The default is false meaning statement-level locks are taken by default and depending on EPL optimizations. If set to true statement-level locks are never taken.
      Returns:
      indicator for statement-level locks
    • setDisableLocking

      public void setDisableLocking(boolean disableLocking)
      Set to true to indicate that statement-level locks are disabled. The default is false meaning statement-level locks are taken by default and depending on EPL optimizations. If set to true statement-level locks are never taken.
      Parameters:
      disableLocking - false to take statement-level locks as required, or true to disable statement-level locking
    • getFilterServiceProfile

      public FilterServiceProfile getFilterServiceProfile()
      Returns the filter service profile for tuning filtering operations.
      Returns:
      filter service profile
    • setFilterServiceProfile

      public void setFilterServiceProfile(FilterServiceProfile filterServiceProfile)
      Set the filter service profile for tuning filtering operations.
      Parameters:
      filterServiceProfile - filter service profile
    • getDeclaredExprValueCacheSize

      public int getDeclaredExprValueCacheSize()
      Returns the cache size for declared expression values
      Returns:
      value
    • setDeclaredExprValueCacheSize

      public void setDeclaredExprValueCacheSize(int declaredExprValueCacheSize)
      Sets the cache size for declared expression values
      Parameters:
      declaredExprValueCacheSize - value
    • isPrecedenceEnabled

      public boolean isPrecedenceEnabled()
      Returns false (the default) if the runtime does not consider insert-into event-precedence, or true to enable insert-into event-precedence execution order of inserted events.
      Returns:
      false by default to indicate insert-into-event no-precedence execution
    • setPrecedenceEnabled

      public void setPrecedenceEnabled(boolean precedenceEnabled)
      Set to false (the default) if the runtime does not consider insert-into event-precedence, or true to enable insert-into event-precedence execution order of inserted events.
      Parameters:
      precedenceEnabled - false by default to indicate insert-into-event no-precedence execution