com.espertech.esper.core
Class StatementLifecycleEvent

java.lang.Object
  extended by com.espertech.esper.core.StatementLifecycleEvent

public class StatementLifecycleEvent
extends Object

Event indicating statement lifecycle management.


Nested Class Summary
static class StatementLifecycleEvent.LifecycleEventType
          Event types.
 
Constructor Summary
protected StatementLifecycleEvent(EPStatement statement, StatementLifecycleEvent.LifecycleEventType eventType, Object... params)
          Ctor.
 
Method Summary
 StatementLifecycleEvent.LifecycleEventType getEventType()
          Returns the event type.
 Object[] getParams()
          Returns event parameters.
 EPStatement getStatement()
          Returns the statement instance for the event.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatementLifecycleEvent

protected StatementLifecycleEvent(EPStatement statement,
                                  StatementLifecycleEvent.LifecycleEventType eventType,
                                  Object... params)
Ctor.

Parameters:
statement - the statement
eventType - the tyoe if event
params - event parameters
Method Detail

getStatement

public EPStatement getStatement()
Returns the statement instance for the event.

Returns:
statement

getEventType

public StatementLifecycleEvent.LifecycleEventType getEventType()
Returns the event type.

Returns:
type of event

getParams

public Object[] getParams()
Returns event parameters.

Returns:
params

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