com.espertech.esper.core.service
Class StatementLifecycleEvent

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

public class StatementLifecycleEvent
extends java.lang.Object

Event indicating statement lifecycle management.


Nested Class Summary
static class StatementLifecycleEvent.LifecycleEventType
          Event types.
 
Constructor Summary
protected StatementLifecycleEvent(EPStatement statement, StatementLifecycleEvent.LifecycleEventType eventType, java.lang.Object... parameters)
          Ctor.
 
Method Summary
 StatementLifecycleEvent.LifecycleEventType getEventType()
          Returns the event type.
 java.lang.Object[] getParameters()
          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,
                                  java.lang.Object... parameters)
Ctor.

Parameters:
statement - the statement
eventType - the tyoe if event
parameters - 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

getParameters

public java.lang.Object[] getParameters()
Returns event parameters.

Returns:
params

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