Adding JMCR-Stable version
[Benchmarks_CSolver.git] / JMCR-Stable / real-world application / MyDerby-10.3 / java / engine / org / apache / derby / iapi / store / access / AccessFactoryGlobals.java
diff --git a/JMCR-Stable/real-world application/MyDerby-10.3/java/engine/org/apache/derby/iapi/store/access/AccessFactoryGlobals.java b/JMCR-Stable/real-world application/MyDerby-10.3/java/engine/org/apache/derby/iapi/store/access/AccessFactoryGlobals.java
new file mode 100644 (file)
index 0000000..146e745
--- /dev/null
@@ -0,0 +1,85 @@
+/*\r
+\r
+   Derby - Class org.apache.derby.iapi.store.access.AccessFactoryGlobals\r
+\r
+   Licensed to the Apache Software Foundation (ASF) under one or more\r
+   contributor license agreements.  See the NOTICE file distributed with\r
+   this work for additional information regarding copyright ownership.\r
+   The ASF licenses this file to you under the Apache License, Version 2.0\r
+   (the "License"); you may not use this file except in compliance with\r
+   the License.  You may obtain a copy of the License at\r
+\r
+      http://www.apache.org/licenses/LICENSE-2.0\r
+\r
+   Unless required by applicable law or agreed to in writing, software\r
+   distributed under the License is distributed on an "AS IS" BASIS,\r
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\r
+   See the License for the specific language governing permissions and\r
+   limitations under the License.\r
+\r
+ */\r
+\r
+package org.apache.derby.iapi.store.access;\r
+\r
+/**\r
+\r
+Global constants provided by the Access Interface.\r
+\r
+**/\r
+\r
+public interface AccessFactoryGlobals\r
+{\r
+    /**************************************************************************\r
+     * Static constants.\r
+     **************************************************************************\r
+     */\r
+    /**\r
+     * The name for user transactions. This name will be displayed by the\r
+     * transactiontable VTI.\r
+     */\r
+    public static final String USER_TRANS_NAME = "UserTransaction";\r
+\r
+    /**\r
+     * The name for system transactions. This name will be displayed by the\r
+     * transactiontable VTI.\r
+     */\r
+    public static final String SYS_TRANS_NAME = "SystemTransaction";\r
+\r
+       /**\r
+        *      Overflow Threshold\r
+        *\r
+        *  This defined how large the row can be before it becomes a long row,\r
+        *  during an insert.\r
+        *\r
+        *  @see org.apache.derby.iapi.store.raw.Page\r
+        */\r
+       public static final int BTREE_OVERFLOW_THRESHOLD = 50;\r
+       public static final int HEAP_OVERFLOW_THRESHOLD  = 100;\r
+       public static final int SORT_OVERFLOW_THRESHOLD  = 100;\r
+\r
+    public static final String CFG_CONGLOMDIR_CACHE = "ConglomerateDirectoryCache";\r
+\r
+    public static final String HEAP = "heap";\r
+\r
+       public static final String DEFAULT_PROPERTY_NAME = "derby.defaultPropertyName";\r
+\r
+       public static final String PAGE_RESERVED_SPACE_PROP = "0";\r
+\r
+       public static final String CONGLOM_PROP = "derby.access.Conglomerate.type";\r
+\r
+       public static final String IMPL_TYPE = "implType";\r
+\r
+       public static final String SORT_EXTERNAL = "sort external";\r
+       public static final String SORT_INTERNAL = "sort internal";\r
+\r
+       public static final String NESTED_READONLY_USER_TRANS = "nestedReadOnlyUserTransaction";\r
+       public static final String NESTED_UPDATE_USER_TRANS = "nestedUpdateUserTransaction";\r
+\r
+    public static final String RAMXACT_CONTEXT_ID = "RAMTransactionContext";\r
+\r
+    public static final String RAMXACT_CHILD_CONTEXT_ID = "RAMChildContext";\r
+\r
+    public static final String RAMXACT_INTERNAL_CONTEXT_ID = "RAMInternalContext";\r
+\r
+}\r
+\r