public class StatementLockFactoryImpl extends java.lang.Object implements StatementLockFactory
Constructor and Description |
---|
StatementLockFactoryImpl(boolean fairlocks,
boolean disableLocking) |
Modifier and Type | Method and Description |
---|---|
StatementAgentInstanceLock |
getStatementLock(java.lang.String statementName,
java.lang.annotation.Annotation[] annotations,
boolean stateless)
Create lock for statement
|
public StatementLockFactoryImpl(boolean fairlocks, boolean disableLocking)
public StatementAgentInstanceLock getStatementLock(java.lang.String statementName, java.lang.annotation.Annotation[] annotations, boolean stateless)
StatementLockFactory
getStatementLock
in interface StatementLockFactory
statementName
- is the statement nameannotations
- annotationstateless
- indicator whether stateless