com.espertech.esper.core.service
Class StatementLockFactoryImpl

java.lang.Object
  extended by com.espertech.esper.core.service.StatementLockFactoryImpl
All Implemented Interfaces:
StatementLockFactory

public class StatementLockFactoryImpl
extends java.lang.Object
implements StatementLockFactory

Provides statement-level locks.


Constructor Summary
StatementLockFactoryImpl(boolean fairlocks, boolean disableLocking)
           
 
Method Summary
 StatementAgentInstanceLock getStatementLock(java.lang.String statementName, java.lang.annotation.Annotation[] annotations, boolean stateless)
          Create lock for statement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatementLockFactoryImpl

public StatementLockFactoryImpl(boolean fairlocks,
                                boolean disableLocking)
Method Detail

getStatementLock

public StatementAgentInstanceLock getStatementLock(java.lang.String statementName,
                                                   java.lang.annotation.Annotation[] annotations,
                                                   boolean stateless)
Description copied from interface: StatementLockFactory
Create lock for statement

Specified by:
getStatementLock in interface StatementLockFactory
Parameters:
statementName - is the statement name
Returns:
lock

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