public class StatementAgentInstanceLockFactoryImpl extends Object implements StatementAgentInstanceLockFactory
Constructor and Description |
---|
StatementAgentInstanceLockFactoryImpl(boolean fairlocks,
boolean disableLocking,
boolean lockLogging) |
Modifier and Type | Method and Description |
---|---|
StatementAgentInstanceLock |
getStatementLock(String statementName,
int cpid,
Annotation[] annotations,
boolean stateless,
StatementType statementType)
Create lock for statement
|
public StatementAgentInstanceLockFactoryImpl(boolean fairlocks, boolean disableLocking, boolean lockLogging)
public StatementAgentInstanceLock getStatementLock(String statementName, int cpid, Annotation[] annotations, boolean stateless, StatementType statementType)
StatementAgentInstanceLockFactory
getStatementLock
in interface StatementAgentInstanceLockFactory
statementName
- is the statement namecpid
- context partition id (also known as agent instance id)annotations
- annotationstateless
- indicator whether statelessstatementType
- statement typeCopyright © 2005–2022. All rights reserved.