com.espertech.esper.epl.named
Class NamedWindowProcessorInstance

java.lang.Object
  extended by com.espertech.esper.epl.named.NamedWindowProcessorInstance

public class NamedWindowProcessorInstance
extends java.lang.Object

An instance of this class is associated with a specific named window. The processor provides the views to create-window, on-delete statements and statements selecting from a named window.


Constructor Summary
NamedWindowProcessorInstance(java.lang.Integer agentInstanceId, NamedWindowProcessor processor, AgentInstanceContext agentInstanceContext)
           
 
Method Summary
 void destroy()
          Deletes a named window and removes any associated resources.
 java.lang.Integer getAgentInstanceId()
           
 long getCountDataWindow()
          Returns the number of events held.
 IndexMultiKey[] getIndexDescriptors()
           
 StatementAgentInstancePostLoad getPostLoad()
           
 NamedWindowRootViewInstance getRootViewInstance()
           
 NamedWindowTailViewInstance getTailViewInstance()
           
 void removeIndex(IndexMultiKey index)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NamedWindowProcessorInstance

public NamedWindowProcessorInstance(java.lang.Integer agentInstanceId,
                                    NamedWindowProcessor processor,
                                    AgentInstanceContext agentInstanceContext)
Method Detail

getTailViewInstance

public NamedWindowTailViewInstance getTailViewInstance()

getRootViewInstance

public NamedWindowRootViewInstance getRootViewInstance()

getCountDataWindow

public long getCountDataWindow()
Returns the number of events held.

Returns:
number of events

destroy

public void destroy()
Deletes a named window and removes any associated resources.


getIndexDescriptors

public IndexMultiKey[] getIndexDescriptors()

getAgentInstanceId

public java.lang.Integer getAgentInstanceId()

getPostLoad

public StatementAgentInstancePostLoad getPostLoad()

removeIndex

public void removeIndex(IndexMultiKey index)

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