Revision: 129
http://polepos.svn.sourceforge.net/polepos/?rev=129&view=rev
Author: carlrosenberger
Date: 2010-06-15 16:27:59 +0000 (Tue, 15 Jun 2010)
Log Message:
-----------
cr: Added Db4oClientServerTeam to make it easier to start db4o in CS mode.
Modified Paths:
--------------
trunk/polepos/src/org/polepos/RunSeason.java
Added Paths:
-----------
trunk/polepos/src/org/polepos/teams/db4o/Db4oClientServerTeam.java
Modified: trunk/polepos/src/org/polepos/RunSeason.java
===================================================================
--- trunk/polepos/src/org/polepos/RunSeason.java 2010-06-15 16:21:21 UTC (rev 128)
+++ trunk/polepos/src/org/polepos/RunSeason.java 2010-06-15 16:27:59 UTC (rev 129)
@@ -70,13 +70,14 @@
@Override
public Team[] teams() {
return new Team[] {
- new Db4oTeam(),
+ new Db4oTeam(),
+ // new Db4oClientServerTeam(),
new JdoTeam(),
-// // new JviTeam(),
+ // new JviTeam(),
new JpaTeam(),
new HibernateTeam(),
new JdbcTeam(),
-// // new CobraTeam(),
+ // new CobraTeam(),
};
}
Added: trunk/polepos/src/org/polepos/teams/db4o/Db4oClientServerTeam.java
===================================================================
--- trunk/polepos/src/org/polepos/teams/db4o/Db4oClientServerTeam.java (rev 0)
+++ trunk/polepos/src/org/polepos/teams/db4o/Db4oClientServerTeam.java 2010-06-15 16:27:59 UTC (rev 129)
@@ -0,0 +1,32 @@
+/*
+This file is part of the PolePosition database benchmark
+http://www.polepos.org
+
+This program is free software; you can redistribute it and/or
+modify it under the terms of the GNU General Public License
+as published by the Free Software Foundation; either version 2
+of the License, or (at your option) any later version.
+
+This program 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 General Public License for more details.
+
+You should have received a copy of the GNU General Public
+License along with this program; if not, write to the Free
+Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
+MA 02111-1307, USA. */
+
+
+package org.polepos.teams.db4o;
+
+public class Db4oClientServerTeam extends Db4oTeam {
+
+ public Db4oClientServerTeam(){
+ super();
+ int[] clientServerOptions = new int[] { Db4oOptions.CLIENT_SERVER,
+ Db4oOptions.CLIENT_SERVER_TCP };
+ configure(clientServerOptions, null);
+ }
+
+}
Property changes on: trunk/polepos/src/org/polepos/teams/db4o/Db4oClientServerTeam.java
___________________________________________________________________
Added: svn:mime-type
+ text/plain
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|