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;
}
Show replies by date