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