| 
 | Berkeley DB version 5.3.28 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sleepycat.db.LockRequestMode
public final class LockRequestMode
When using the default lock conflict matrix, the LockRequestMode class defines the set of possible lock modes.
| Field Summary | |
|---|---|
| static LockRequestMode | IREADIntention to read (shared). | 
| static LockRequestMode | IWRIntention to read and write (shared). | 
| static LockRequestMode | IWRITEIntention to write (shared). | 
| static LockRequestMode | READRead (shared). | 
| static LockRequestMode | WRITEWrite (exclusive). | 
| Constructor Summary | |
|---|---|
| LockRequestMode(String operationName,
                int flag)Construct a custom lock request mode. | |
| Method Summary | |
|---|---|
|  String | toString() | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Field Detail | 
|---|
public static final LockRequestMode READ
public static final LockRequestMode WRITE
public static final LockRequestMode IWRITE
public static final LockRequestMode IREAD
public static final LockRequestMode IWR
| Constructor Detail | 
|---|
public LockRequestMode(String operationName,
                       int flag)
operationName - Name used to display the mode
    flag - Flag value used as an index into the lock conflict matrix| Method Detail | 
|---|
public String toString()
toString in class Object| 
 | Berkeley DB version 5.3.28 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||