[jbosscache-commits] JBoss Cache SVN: r6694 - in benchmarks/benchmark-fwk/trunk/src/org/cachebench: config and 1 other directory.

jbosscache-commits at lists.jboss.org jbosscache-commits at lists.jboss.org
Fri Sep 5 08:20:08 EDT 2008


Author: mircea.markus
Date: 2008-09-05 08:20:08 -0400 (Fri, 05 Sep 2008)
New Revision: 6694

Modified:
   benchmarks/benchmark-fwk/trunk/src/org/cachebench/cluster/TcpTransport.java
   benchmarks/benchmark-fwk/trunk/src/org/cachebench/config/ClusterConfig.java
Log:
added additional logging and clusterconfig options

Modified: benchmarks/benchmark-fwk/trunk/src/org/cachebench/cluster/TcpTransport.java
===================================================================
--- benchmarks/benchmark-fwk/trunk/src/org/cachebench/cluster/TcpTransport.java	2008-09-05 02:35:58 UTC (rev 6693)
+++ benchmarks/benchmark-fwk/trunk/src/org/cachebench/cluster/TcpTransport.java	2008-09-05 12:20:08 UTC (rev 6694)
@@ -268,6 +268,7 @@
 
       void createSocket() throws IOException
       {
+         log.trace("creating socket connection to host: '" + to.getAddress() + "', port:'" + to.getPort() + "'");
          sock = new Socket(to.getAddress(), to.getPort());
          sock.setSendBufferSize(max_send_buffer_size);
          sock.setReceiveBufferSize(max_receiver_buffer_size);

Modified: benchmarks/benchmark-fwk/trunk/src/org/cachebench/config/ClusterConfig.java
===================================================================
--- benchmarks/benchmark-fwk/trunk/src/org/cachebench/config/ClusterConfig.java	2008-09-05 02:35:58 UTC (rev 6693)
+++ benchmarks/benchmark-fwk/trunk/src/org/cachebench/config/ClusterConfig.java	2008-09-05 12:20:08 UTC (rev 6694)
@@ -87,6 +87,10 @@
 
    public String getBindAddress()
    {
+      if (bindAddress == null)
+      {
+         bindAddress = System.getProperties().getProperty("bind.address");
+      }
       return bindAddress;
    }
 




More information about the jbosscache-commits mailing list