com.espertech.esper.client
Class ConfigurationEngineDefaults.Execution

java.lang.Object
  extended by com.espertech.esper.client.ConfigurationEngineDefaults.Execution
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
ConfigurationEngineDefaults

public static class ConfigurationEngineDefaults.Execution
extends java.lang.Object
implements java.io.Serializable

Holds engine execution-related settings.

See Also:
Serialized Form

Constructor Summary
protected ConfigurationEngineDefaults.Execution()
          Ctor - sets up defaults.
 
Method Summary
 int getFilterServiceMaxFilterWidth()
          Returns the maximum width for breaking up "or" expression in filters to subexpressions for reverse indexing.
 ConfigurationEngineDefaults.FilterServiceProfile getFilterServiceProfile()
          Returns the filter service profile for tuning filtering operations.
 ConfigurationEngineDefaults.ThreadingProfile getThreadingProfile()
          Returns the threading profile
 boolean isAllowIsolatedService()
          Returns indicator whether isolated services providers are enabled or disabled (the default).
 boolean isDisableLocking()
          Returns indicator whether statement-level locks are disabled.
 boolean isFairlock()
          Returns true for fair locking, false for unfair locks.
 boolean isPrioritized()
          Returns false (the default) if the engine does not consider statement priority and preemptive instructions, or true to enable priority-based statement execution order.
 void setAllowIsolatedService(boolean allowIsolatedService)
          Sets indicator whether isolated services providers are enabled or disabled (the default).
 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 setFilterServiceMaxFilterWidth(int filterServiceMaxFilterWidth)
          Sets the maximum width for breaking up "or" expression in filters to subexpressions for reverse indexing.
 void setFilterServiceProfile(ConfigurationEngineDefaults.FilterServiceProfile filterServiceProfile)
          Set the filter service profile for tuning filtering operations.
 void setPrioritized(boolean prioritized)
          Set to false (the default) if the engine does not consider statement priority and preemptive instructions, or true for enable priority-based statement execution order.
 void setThreadingProfile(ConfigurationEngineDefaults.ThreadingProfile threadingProfile)
          Sets the threading profile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationEngineDefaults.Execution

protected ConfigurationEngineDefaults.Execution()
Ctor - sets up defaults.

Method Detail

isPrioritized

public boolean isPrioritized()
Returns false (the default) if the engine 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 engine 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

getThreadingProfile

public ConfigurationEngineDefaults.ThreadingProfile getThreadingProfile()
Returns the threading profile

Returns:
profile

setThreadingProfile

public void setThreadingProfile(ConfigurationEngineDefaults.ThreadingProfile threadingProfile)
Sets the threading profile

Parameters:
threadingProfile - profile to set

isAllowIsolatedService

public boolean isAllowIsolatedService()
Returns indicator whether isolated services providers are enabled or disabled (the default).

Returns:
indicator value

setAllowIsolatedService

public void setAllowIsolatedService(boolean allowIsolatedService)
Sets indicator whether isolated services providers are enabled or disabled (the default).

Parameters:
allowIsolatedService - indicator to set

getFilterServiceProfile

public ConfigurationEngineDefaults.FilterServiceProfile getFilterServiceProfile()
Returns the filter service profile for tuning filtering operations.

Returns:
filter service profile

setFilterServiceProfile

public void setFilterServiceProfile(ConfigurationEngineDefaults.FilterServiceProfile filterServiceProfile)
Set the filter service profile for tuning filtering operations.

Parameters:
filterServiceProfile - filter service profile

getFilterServiceMaxFilterWidth

public int getFilterServiceMaxFilterWidth()
Returns the maximum width for breaking up "or" expression in filters to subexpressions for reverse indexing.

Returns:
max filter width

setFilterServiceMaxFilterWidth

public void setFilterServiceMaxFilterWidth(int filterServiceMaxFilterWidth)
Sets the maximum width for breaking up "or" expression in filters to subexpressions for reverse indexing.

Parameters:
filterServiceMaxFilterWidth - max filter width

© 2006-2015 EsperTech Inc.
All rights reserved.
Visit us at espertech.com