com.espertech.esper.core.service
Interface StatementLockFactory

All Known Implementing Classes:
StatementLockFactoryImpl

public interface StatementLockFactory

Factory for the managed lock that provides statement resource protection.


Method Summary
 StatementAgentInstanceLock getStatementLock(java.lang.String statementName, java.lang.annotation.Annotation[] annotations, boolean stateless)
          Create lock for statement
 

Method Detail

getStatementLock

StatementAgentInstanceLock getStatementLock(java.lang.String statementName,
                                            java.lang.annotation.Annotation[] annotations,
                                            boolean stateless)
Create lock for statement

Parameters:
statementName - is the statement name
Returns:
lock

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