|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.ojb.broker.locking.LockIsolation
abstract class LockIsolation
This interface defines method that a Locking Strategy must implement according to the isolation level it represents.
Constructor Summary | |
---|---|
LockIsolation()
|
Method Summary | |
---|---|
(package private) abstract boolean |
allowMultipleRead()
Decide if this lock strategy allows multiple read locks. |
(package private) abstract boolean |
allowReadWhenWrite()
Decide if this lock strategy allows one or more read locks when a write lock already exists. |
(package private) abstract boolean |
allowWriteWhenRead()
Decide if this lock strategy allows a write lock when one or more read locks already exists. |
(package private) abstract int |
getIsolationLevel()
Returns the isolation level identity. |
(package private) abstract String |
getIsolationLevelAsString()
Returns the isolation level identity as string. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
LockIsolation()
Method Detail |
---|
abstract int getIsolationLevel()
abstract String getIsolationLevelAsString()
abstract boolean allowMultipleRead()
abstract boolean allowWriteWhenRead()
abstract boolean allowReadWhenWrite()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |