public class DBAccessLock
extends java.lang.Object
- OperationCriticalTransactions pass through the Access lock without blocking to allow the initial transactions. - Queries inside Transactions skip access log to allow OperationCriticalTransactions perform queries.
Constructor and Description |
---|
DBAccessLock(Database database) |
Modifier and Type | Method and Description |
---|---|
void |
checkAccess() |
void |
checkAccess(Transaction transaction) |
void |
operabilityChanged() |
public DBAccessLock(Database database)
public void checkAccess()
public void checkAccess(Transaction transaction)
public void operabilityChanged()