summaryrefslogtreecommitdiff
path: root/db-4.8.30/examples_java/src/db/repquote_gsg/SimpleConfig.java
diff options
context:
space:
mode:
Diffstat (limited to 'db-4.8.30/examples_java/src/db/repquote_gsg/SimpleConfig.java')
-rw-r--r--db-4.8.30/examples_java/src/db/repquote_gsg/SimpleConfig.java32
1 files changed, 32 insertions, 0 deletions
diff --git a/db-4.8.30/examples_java/src/db/repquote_gsg/SimpleConfig.java b/db-4.8.30/examples_java/src/db/repquote_gsg/SimpleConfig.java
new file mode 100644
index 0000000..7807289
--- /dev/null
+++ b/db-4.8.30/examples_java/src/db/repquote_gsg/SimpleConfig.java
@@ -0,0 +1,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);
+ }
+
+}
+