Lines Matching defs:LockDetectMode
6 * $Id: LockDetectMode.java,v 12.7 2008/01/17 05:04:53 mjc Exp $
14 public final class LockDetectMode {
18 public static final LockDetectMode NONE =
19 new LockDetectMode("NONE", 0);
26 public static final LockDetectMode DEFAULT =
27 new LockDetectMode("DEFAULT", DbConstants.DB_LOCK_DEFAULT);
33 public static final LockDetectMode EXPIRE =
34 new LockDetectMode("EXPIRE", DbConstants.DB_LOCK_EXPIRE);
39 public static final LockDetectMode MAXLOCKS =
40 new LockDetectMode("MAXLOCKS", DbConstants.DB_LOCK_MAXLOCKS);
45 public static final LockDetectMode MAXWRITE =
46 new LockDetectMode("MAXWRITE", DbConstants.DB_LOCK_MAXWRITE);
51 public static final LockDetectMode MINLOCKS =
52 new LockDetectMode("MINLOCKS", DbConstants.DB_LOCK_MINLOCKS);
57 public static final LockDetectMode MINWRITE =
58 new LockDetectMode("MINWRITE", DbConstants.DB_LOCK_MINWRITE);
63 public static final LockDetectMode OLDEST =
64 new LockDetectMode("OLDEST", DbConstants.DB_LOCK_OLDEST);
69 public static final LockDetectMode RANDOM =
70 new LockDetectMode("RANDOM", DbConstants.DB_LOCK_RANDOM);
75 public static final LockDetectMode YOUNGEST =
76 new LockDetectMode("YOUNGEST", DbConstants.DB_LOCK_YOUNGEST);
79 static LockDetectMode fromFlag(int flag) {
110 private LockDetectMode(final String modeName, final int flag) {
122 return "LockDetectMode." + modeName;