| java.lang.Object org.apache.ojb.broker.locking.LockIsolation
LockIsolation | abstract class LockIsolation (Code) | | This interface defines method that a Locking Strategy must implement
according to the isolation level it represents.
|
Method Summary | |
abstract boolean | allowMultipleRead() Decide if this lock strategy allows multiple read locks. | abstract boolean | allowReadWhenWrite() Decide if this lock strategy allows one or more read locks when a write
lock already exists. | abstract boolean | allowWriteWhenRead() Decide if this lock strategy allows a write lock when one or more read
locks already exists. | abstract int | getIsolationLevel() Returns the isolation level identity. | abstract String | getIsolationLevelAsString() Returns the isolation level identity as string. |
allowMultipleRead | abstract boolean allowMultipleRead()(Code) | | Decide if this lock strategy allows multiple read locks.
True if multiple read locks allowed, else False. |
allowReadWhenWrite | abstract boolean allowReadWhenWrite()(Code) | | Decide if this lock strategy allows one or more read locks when a write
lock already exists.
True if read locks allowed when write lock exist, else False. |
allowWriteWhenRead | abstract boolean allowWriteWhenRead()(Code) | | Decide if this lock strategy allows a write lock when one or more read
locks already exists.
True if write lock allowed when read lock exist, else False. |
getIsolationLevel | abstract int getIsolationLevel()(Code) | | Returns the isolation level identity.
The isolation level number. |
getIsolationLevelAsString | abstract String getIsolationLevelAsString()(Code) | | Returns the isolation level identity as string.
The isolation level as string. |
|
|