summaryrefslogtreecommitdiff
path: root/db-4.8.30/examples_java/src/db/repquote_gsg/SimpleConfig.java
blob: 7807289c0bb21ef09fdd2dce1c35469399e8285c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/*-
 * See the file LICENSE for redistribution information.
 *
 * Copyright (c) 2001-2009 Oracle.  All rights reserved.
 *
 * $Id$
 */

package db.repquote_gsg;

public class SimpleConfig
{
    // Constant values used in the RepQuote application.
    public static final String progname = "SimpleTxn";
    public static final int CACHESIZE = 10 * 1024 * 1024;

    // Member variables containing configuration information.
    public String home; // String specifying the home directory for 
                        // rep files.

    public SimpleConfig()
    {
        home = "";
    }

    public java.io.File getHome()
    {
        return new java.io.File(home);
    }

}