com.espertech.esper.client
Class ConfigurationEngineDefaults.ViewResources

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

public static class ConfigurationEngineDefaults.ViewResources
extends Object
implements Serializable

Holds view resources settings.

See Also:
Serialized Form

Constructor Summary
protected ConfigurationEngineDefaults.ViewResources()
          Ctor - sets up defaults.
 
Method Summary
 boolean isShareViews()
          Returns true to indicate the engine shares view resources between statements, or false to indicate the engine does not share view resources between statements.
 void setShareViews(boolean shareViews)
          Set the flag to instruct the engine whether to share view resources between statements for not
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationEngineDefaults.ViewResources

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

Method Detail

isShareViews

public boolean isShareViews()
Returns true to indicate the engine shares view resources between statements, or false to indicate the engine does not share view resources between statements.

Returns:
indicator whether view resources are shared between statements if statements share same-views and the engine sees opportunity to reuse an existing view.

setShareViews

public void setShareViews(boolean shareViews)
Set the flag to instruct the engine whether to share view resources between statements for not

Parameters:
shareViews - is true to share view resources between statements, or false to not share view resources between statements declaring same-views

© 2007 EsperTech Inc.
All rights reserved.
Visit us at espertech.com