00001
00002
00003 package com.sleepycat.db.internal;
00004
00005 public interface DbConstants
00006 {
00007 int DB_AFTER = 1;
00008 int DB_AGGRESSIVE = 0x0000001;
00009 int DB_APPEND = 2;
00010 int DB_ARCH_ABS = 0x001;
00011 int DB_ARCH_DATA = 0x002;
00012 int DB_ARCH_LOG = 0x004;
00013 int DB_ARCH_REMOVE = 0x008;
00014 int DB_AUTO_COMMIT = 0x01000000;
00015 int DB_BEFORE = 3;
00016 int DB_BTREE = 1;
00017 int DB_CDB_ALLDB = 0x00002000;
00018 int DB_CHKSUM = 0x00002000;
00019 int DB_CONSUME = 5;
00020 int DB_CONSUME_WAIT = 6;
00021 int DB_CREATE = 0x0000001;
00022 int DB_CURRENT = 7;
00023 int DB_DBT_MALLOC = 0x004;
00024 int DB_DBT_PARTIAL = 0x008;
00025 int DB_DBT_USERMEM = 0x020;
00026 int DB_DIRECT_DB = 0x00004000;
00027 int DB_DIRECT_LOG = 0x00008000;
00028 int DB_DONOTINDEX = -30998;
00029 int DB_DSYNC_DB = 0x00010000;
00030 int DB_DSYNC_LOG = 0x00020000;
00031 int DB_DUP = 0x00004000;
00032 int DB_DUPSORT = 0x00008000;
00033 int DB_EID_BROADCAST = -1;
00034 int DB_EID_INVALID = -2;
00035 int DB_ENCRYPT = 0x00010000;
00036 int DB_ENCRYPT_AES = 0x0000001;
00037 int DB_EXCL = 0x0002000;
00038 int DB_FAST_STAT = 8;
00039 int DB_FIRST = 9;
00040 int DB_FLUSH = 0x001;
00041 int DB_FORCE = 0x0000004;
00042 int DB_FREELIST_ONLY = 0x00002000;
00043 int DB_FREE_SPACE = 0x00004000;
00044 int DB_GET_BOTH = 10;
00045 int DB_GET_BOTH_RANGE = 12;
00046 int DB_GET_RECNO = 13;
00047 int DB_HASH = 2;
00048 int DB_IMMUTABLE_KEY = 0x0002000;
00049 int DB_INIT_CDB = 0x0002000;
00050 int DB_INIT_LOCK = 0x0004000;
00051 int DB_INIT_LOG = 0x0008000;
00052 int DB_INIT_MPOOL = 0x0010000;
00053 int DB_INIT_REP = 0x0020000;
00054 int DB_INIT_TXN = 0x0040000;
00055 int DB_INORDER = 0x00020000;
00056 int DB_JOINENV = 0x0;
00057 int DB_JOIN_ITEM = 14;
00058 int DB_JOIN_NOSORT = 0x0000001;
00059 int DB_KEYEMPTY = -30997;
00060 int DB_KEYEXIST = -30996;
00061 int DB_KEYFIRST = 15;
00062 int DB_KEYLAST = 16;
00063 int DB_LAST = 17;
00064 int DB_LOCKDOWN = 0x0080000;
00065 int DB_LOCK_DEADLOCK = -30995;
00066 int DB_LOCK_DEFAULT = 1;
00067 int DB_LOCK_EXPIRE = 2;
00068 int DB_LOCK_GET = 1;
00069 int DB_LOCK_GET_TIMEOUT = 2;
00070 int DB_LOCK_IREAD = 5;
00071 int DB_LOCK_IWR = 6;
00072 int DB_LOCK_IWRITE = 4;
00073 int DB_LOCK_MAXLOCKS = 3;
00074 int DB_LOCK_MAXWRITE = 4;
00075 int DB_LOCK_MINLOCKS = 5;
00076 int DB_LOCK_MINWRITE = 6;
00077 int DB_LOCK_NOTGRANTED = -30994;
00078 int DB_LOCK_NOWAIT = 0x002;
00079 int DB_LOCK_OLDEST = 7;
00080 int DB_LOCK_PUT = 4;
00081 int DB_LOCK_PUT_ALL = 5;
00082 int DB_LOCK_PUT_OBJ = 6;
00083 int DB_LOCK_RANDOM = 8;
00084 int DB_LOCK_READ = 1;
00085 int DB_LOCK_TIMEOUT = 8;
00086 int DB_LOCK_WRITE = 2;
00087 int DB_LOCK_YOUNGEST = 9;
00088 int DB_LOG_AUTOREMOVE = 0x00040000;
00089 int DB_LOG_INMEMORY = 0x00080000;
00090 int DB_MPOOL_NOFILE = 0x001;
00091 int DB_MPOOL_UNLINK = 0x002;
00092 int DB_MULTIPLE = 0x08000000;
00093 int DB_MULTIPLE_KEY = 0x10000000;
00094 int DB_NEXT = 18;
00095 int DB_NEXT_DUP = 19;
00096 int DB_NEXT_NODUP = 20;
00097 int DB_NODUPDATA = 21;
00098 int DB_NOLOCKING = 0x00100000;
00099 int DB_NOMMAP = 0x0000008;
00100 int DB_NOORDERCHK = 0x0000002;
00101 int DB_NOOVERWRITE = 22;
00102 int DB_NOPANIC = 0x00200000;
00103 int DB_NOSERVER_HOME = -30991;
00104 int DB_NOSERVER_ID = -30990;
00105 int DB_NOSYNC = 23;
00106 int DB_NOTFOUND = -30989;
00107 int DB_ORDERCHKONLY = 0x0000004;
00108 int DB_OVERWRITE = 0x00400000;
00109 int DB_PANIC_ENVIRONMENT = 0x00800000;
00110 int DB_POSITION = 24;
00111 int DB_PREV = 25;
00112 int DB_PREV_NODUP = 26;
00113 int DB_PRINTABLE = 0x0000020;
00114 int DB_PRIORITY_DEFAULT = 3;
00115 int DB_PRIORITY_HIGH = 4;
00116 int DB_PRIORITY_LOW = 2;
00117 int DB_PRIORITY_VERY_HIGH = 5;
00118 int DB_PRIORITY_VERY_LOW = 1;
00119 int DB_PRIVATE = 0x0100000;
00120 int DB_QUEUE = 4;
00121 int DB_RDONLY = 0x0000010;
00122 int DB_READ_COMMITTED = 0x02000000;
00123 int DB_READ_UNCOMMITTED = 0x04000000;
00124 int DB_RECNO = 3;
00125 int DB_RECNUM = 0x00040000;
00126 int DB_RECOVER = 0x0000020;
00127 int DB_RECOVER_FATAL = 0x0200000;
00128 int DB_REGION_INIT = 0x08000000;
00129 int DB_REGISTER = 0x0400000;
00130 int DB_RENUMBER = 0x00080000;
00131 int DB_REP_ANYWHERE = 0x0000001;
00132 int DB_REP_CLIENT = 0x001;
00133 int DB_REP_CONF_BULK = 0x0001;
00134 int DB_REP_CONF_DELAYCLIENT = 0x0002;
00135 int DB_REP_CONF_NOAUTOINIT = 0x0004;
00136 int DB_REP_CONF_NOWAIT = 0x0008;
00137 int DB_REP_IGNORE = -30983;
00138 int DB_REP_ISPERM = -30982;
00139 int DB_REP_MASTER = 0x002;
00140 int DB_REP_NEWMASTER = -30979;
00141 int DB_REP_NEWSITE = -30978;
00142 int DB_REP_NOBUFFER = 0x0000002;
00143 int DB_REP_NOTPERM = -30977;
00144 int DB_REP_PERMANENT = 0x0000004;
00145 int DB_REP_REREQUEST = 0x0000008;
00146 int DB_REP_STARTUPDONE = -30976;
00147 int DB_REVSPLITOFF = 0x00100000;
00148 int DB_RMW = 0x20000000;
00149 int DB_RPCCLIENT = 0x0000002;
00150 int DB_SALVAGE = 0x0000040;
00151 int DB_SEQ_DEC = 0x00000001;
00152 int DB_SEQ_INC = 0x00000002;
00153 int DB_SEQ_WRAP = 0x00000008;
00154 int DB_SET = 28;
00155 int DB_SET_LOCK_TIMEOUT = 29;
00156 int DB_SET_RANGE = 30;
00157 int DB_SET_RECNO = 31;
00158 int DB_SET_TXN_TIMEOUT = 33;
00159 int DB_SNAPSHOT = 0x00200000;
00160 int DB_STAT_CLEAR = 0x0000002;
00161 int DB_SYSTEM_MEM = 0x0800000;
00162 int DB_THREAD = 0x0000040;
00163 int DB_TIME_NOTGRANTED = 0x10000000;
00164 int DB_TRUNCATE = 0x0000080;
00165 int DB_TXN_ABORT = 0;
00166 int DB_TXN_APPLY = 1;
00167 int DB_TXN_BACKWARD_ROLL = 3;
00168 int DB_TXN_FORWARD_ROLL = 4;
00169 int DB_TXN_NOSYNC = 0x0000100;
00170 int DB_TXN_NOT_DURABLE = 0x0000200;
00171 int DB_TXN_NOWAIT = 0x0002000;
00172 int DB_TXN_PRINT = 7;
00173 int DB_TXN_SYNC = 0x0004000;
00174 int DB_TXN_WRITE_NOSYNC = 0x0000400;
00175 int DB_UNKNOWN = 5;
00176 int DB_UPGRADE = 0x0000001;
00177 int DB_USE_ENVIRON = 0x0000800;
00178 int DB_USE_ENVIRON_ROOT = 0x0001000;
00179 int DB_VERB_DEADLOCK = 0x0001;
00180 int DB_VERB_RECOVERY = 0x0002;
00181 int DB_VERB_REGISTER = 0x0004;
00182 int DB_VERB_REPLICATION = 0x0008;
00183 int DB_VERB_WAITSFOR = 0x0010;
00184 int DB_VERIFY = 0x0000002;
00185 int DB_VERSION_MAJOR = 4;
00186 int DB_VERSION_MINOR = 4;
00187 int DB_VERSION_PATCH = 16;
00188 int DB_WRITECURSOR = 35;
00189 int DB_XA_CREATE = 0x0000002;
00190 int DB_XIDDATASIZE = 128;
00191 int DB_YIELDCPU = 0x20000000;
00192 }
00193
00194