summaryrefslogtreecommitdiffstats
path: root/rubbos/rubbos_scripts/1-1-1/rubbos_conf/Config.java
diff options
context:
space:
mode:
authorhongbotian <hongbo.tianhongbo@huawei.com>2015-11-30 02:58:25 -0500
committerhongbotian <hongbo.tianhongbo@huawei.com>2015-11-30 02:58:25 -0500
commitb6d3d6e668b793220f2d3af1bc3e828553dc3fe6 (patch)
treeeeebb5a818b8e23ddb54fe6a609e1cd8aeebe158 /rubbos/rubbos_scripts/1-1-1/rubbos_conf/Config.java
parent9401f816dd0d9d550fe98a8507224bde51c4b847 (diff)
bottleneck testcase based on rubbos
JIRA: BOTTLENECK-31 Change-Id: I35b1bcdca28c4e06e316143cc895b4cdf689d0d3 Signed-off-by: hongbotian <hongbo.tianhongbo@huawei.com>
Diffstat (limited to 'rubbos/rubbos_scripts/1-1-1/rubbos_conf/Config.java')
-rw-r--r--rubbos/rubbos_scripts/1-1-1/rubbos_conf/Config.java68
1 files changed, 68 insertions, 0 deletions
diff --git a/rubbos/rubbos_scripts/1-1-1/rubbos_conf/Config.java b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/Config.java
new file mode 100644
index 00000000..8956b506
--- /dev/null
+++ b/rubbos/rubbos_scripts/1-1-1/rubbos_conf/Config.java
@@ -0,0 +1,68 @@
+
+/**
+ * RUBBoS: Rice University Bulletin Board System.
+ * Copyright (C) 2001-2004 Rice University and French National Institute For
+ * Research In Computer Science And Control (INRIA).
+ * Contact: jmob@objectweb.org
+ *
+ * This library is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published by the
+ * Free Software Foundation; either version 2.1 of the License, or any later
+ * version.
+ *
+ * This library is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
+ * for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this library; if not, write to the Free Software Foundation,
+ * Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
+ *
+ * Initial developer(s): Emmanuel Cecchet.
+ * Contributor(s): ______________________.
+ */
+
+package edu.rice.rubbos.servlets;
+
+/**
+ * This class contains the configuration for the servlets like the path of HTML
+ * files, etc ...
+ *
+ * @author <a href="mailto:cecchet@rice.edu">Emmanuel Cecchet </a> and <a
+ * href="mailto:julie.marguerite@inrialpes.fr">Julie Marguerite </a>
+ * @version 1.0
+ */
+
+public class Config
+{
+
+ /**
+ * Creates a new <code>Config</code> instance.
+ */
+ Config()
+ {
+ }
+
+
+ public static final String HTMLFilesPath = "/bottlenecks/rubbos/app/RUBBoS/Servlet_HTML";
+ public static final String[] DatabaseProperties = {"/bottlenecks/rubbos/app/RUBBoS/Servlets/mysql.properties"};
+ public static final int DatabasePropertiesSize = 1;
+
+ public static final int AboutMePoolSize = 10;
+ public static final int BrowseCategoriesPoolSize = 6;
+ public static final int BrowseRegionsPoolSize = 6;
+ public static final int BuyNowPoolSize = 4;
+ public static final int PutBidPoolSize = 8;
+ public static final int PutCommentPoolSize = 2;
+ public static final int RegisterItemPoolSize = 2;
+ public static final int RegisterUserPoolSize = 2;
+ public static final int SearchItemsByCategoryPoolSize = 15;
+ public static final int SearchItemsByRegionPoolSize = 20;
+ public static final int StoreBidPoolSize = 8;
+ public static final int StoreBuyNowPoolSize = 4;
+ public static final int StoreCommentPoolSize = 2;
+ public static final int ViewBidHistoryPoolSize = 4;
+ public static final int ViewItemPoolSize = 20;
+ public static final int ViewUserInfoPoolSize = 4;
+}