[infinispan-commits] Infinispan SVN: r1654 - in trunk/client/hotrod-client/src/main: resources and 1 other directory.

infinispan-commits at lists.jboss.org infinispan-commits at lists.jboss.org
Thu Apr 1 17:32:15 EDT 2010


Author: mircea.markus
Date: 2010-04-01 17:32:14 -0400 (Thu, 01 Apr 2010)
New Revision: 1654

Modified:
   trunk/client/hotrod-client/src/main/java/org/infinispan/client/hotrod/RemoteCacheManager.java
   trunk/client/hotrod-client/src/main/resources/hotrod-client.properties
Log:
ongoing work n hotrod client

Modified: trunk/client/hotrod-client/src/main/java/org/infinispan/client/hotrod/RemoteCacheManager.java
===================================================================
--- trunk/client/hotrod-client/src/main/java/org/infinispan/client/hotrod/RemoteCacheManager.java	2010-04-01 18:38:18 UTC (rev 1653)
+++ trunk/client/hotrod-client/src/main/java/org/infinispan/client/hotrod/RemoteCacheManager.java	2010-04-01 21:32:14 UTC (rev 1654)
@@ -128,6 +128,9 @@
          hotrodMarshaller = SerializationMarshaller.class.getName();
          log.info("'marshaller' not specified, using " + hotrodMarshaller);
       }
+      if (props.get("force-return-value") != null) {
+         throw new RuntimeException("force-return-value is not supported in Alpha1");
+      }
       started = true;
    }
 

Modified: trunk/client/hotrod-client/src/main/resources/hotrod-client.properties
===================================================================
--- trunk/client/hotrod-client/src/main/resources/hotrod-client.properties	2010-04-01 18:38:18 UTC (rev 1653)
+++ trunk/client/hotrod-client/src/main/resources/hotrod-client.properties	2010-04-01 21:32:14 UTC (rev 1654)
@@ -1,2 +1,3 @@
 hotrod-servers=127.0.0.1:11311
-transport-factory=org.infinispan.client.hotrod.impl.transport.tcp.TcpTransportFactory
\ No newline at end of file
+transport-factory=org.infinispan.client.hotrod.impl.transport.tcp.TcpTransportFactory
+force-return-value=false
\ No newline at end of file



More information about the infinispan-commits mailing list