KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > apache > derby > iapi > store > access > AccessFactoryGlobals


1 /*
2
3    Derby - Class org.apache.derby.iapi.store.access.AccessFactoryGlobals
4
5    Licensed to the Apache Software Foundation (ASF) under one or more
6    contributor license agreements. See the NOTICE file distributed with
7    this work for additional information regarding copyright ownership.
8    The ASF licenses this file to you under the Apache License, Version 2.0
9    (the "License"); you may not use this file except in compliance with
10    the License. You may obtain a copy of the License at
11
12       http://www.apache.org/licenses/LICENSE-2.0
13
14    Unless required by applicable law or agreed to in writing, software
15    distributed under the License is distributed on an "AS IS" BASIS,
16    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17    See the License for the specific language governing permissions and
18    limitations under the License.
19
20  */

21
22 package org.apache.derby.iapi.store.access;
23
24 /**
25
26 Global constants provided by the Access Interface.
27
28 **/

29
30 public interface AccessFactoryGlobals
31 {
32     /**************************************************************************
33      * Static constants.
34      **************************************************************************
35      */

36     /**
37      * The name for user transactions. This name will be displayed by the
38      * transactiontable VTI.
39      */

40     public static final String JavaDoc USER_TRANS_NAME = "UserTransaction";
41
42     /**
43      * The name for system transactions. This name will be displayed by the
44      * transactiontable VTI.
45      */

46     public static final String JavaDoc SYS_TRANS_NAME = "SystemTransaction";
47
48     /**
49      * Overflow Threshold
50      *
51      * This defined how large the row can be before it becomes a long row,
52      * during an insert.
53      *
54      * @see org.apache.derby.iapi.store.raw.Page
55      */

56     public static final int BTREE_OVERFLOW_THRESHOLD = 50;
57     public static final int HEAP_OVERFLOW_THRESHOLD = 100;
58     public static final int SORT_OVERFLOW_THRESHOLD = 100;
59
60     public static final String JavaDoc CFG_CONGLOMDIR_CACHE = "ConglomerateDirectoryCache";
61
62     public static final String JavaDoc HEAP = "heap";
63
64     public static final String JavaDoc DEFAULT_PROPERTY_NAME = "derby.defaultPropertyName";
65
66     public static final String JavaDoc PAGE_RESERVED_SPACE_PROP = "0";
67
68     public static final String JavaDoc CONGLOM_PROP = "derby.access.Conglomerate.type";
69
70     public static final String JavaDoc IMPL_TYPE = "implType";
71
72     public static final String JavaDoc SORT_EXTERNAL = "sort external";
73     public static final String JavaDoc SORT_INTERNAL = "sort internal";
74
75     public static final String JavaDoc NESTED_READONLY_USER_TRANS = "nestedReadOnlyUserTransaction";
76     public static final String JavaDoc NESTED_UPDATE_USER_TRANS = "nestedUpdateUserTransaction";
77
78     public static final String JavaDoc RAMXACT_CONTEXT_ID = "RAMTransactionContext";
79
80     public static final String JavaDoc RAMXACT_CHILD_CONTEXT_ID = "RAMChildContext";
81
82     public static final String JavaDoc RAMXACT_INTERNAL_CONTEXT_ID = "RAMInternalContext";
83
84 }
85
86
Popular Tags