tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jsdelf...@apache.org
Subject svn commit: r1214043 - in /tuscany/sca-cpp/trunk: components/cache/cache.composite components/cache/memcache.cpp samples/store-cluster/shared/shared.composite
Date Wed, 14 Dec 2011 03:35:21 GMT
Author: jsdelfino
Date: Wed Dec 14 03:35:21 2011
New Revision: 1214043

URL: http://svn.apache.org/viewvc?rev=1214043&view=rev
Log:
Change memcached component configuration syntax to use spaces instead of commas between memcached
addresses.

Modified:
    tuscany/sca-cpp/trunk/components/cache/cache.composite
    tuscany/sca-cpp/trunk/components/cache/memcache.cpp
    tuscany/sca-cpp/trunk/samples/store-cluster/shared/shared.composite

Modified: tuscany/sca-cpp/trunk/components/cache/cache.composite
URL: http://svn.apache.org/viewvc/tuscany/sca-cpp/trunk/components/cache/cache.composite?rev=1214043&r1=1214042&r2=1214043&view=diff
==============================================================================
--- tuscany/sca-cpp/trunk/components/cache/cache.composite (original)
+++ tuscany/sca-cpp/trunk/components/cache/cache.composite Wed Dec 14 03:35:21 2011
@@ -26,7 +26,7 @@
         <service name="memcache">
             <binding.http uri="memcache"/>
         </service>
-        <property name="servers">localhost,localhost:11212,localhost:11213</property>
+        <property name="servers">localhost localhost:11212 localhost:11213</property>
     </component>
 
     <component name="l2cache">
@@ -34,7 +34,7 @@
         <service name="l2cache">
             <binding.http uri="l2cache"/>
         </service>
-        <property name="servers">localhost:11411,localhost:11412,localhost:11413</property>
+        <property name="servers">localhost:11411 localhost:11412 localhost:11413</property>
     </component>
 
     <component name="datacache">

Modified: tuscany/sca-cpp/trunk/components/cache/memcache.cpp
URL: http://svn.apache.org/viewvc/tuscany/sca-cpp/trunk/components/cache/memcache.cpp?rev=1214043&r1=1214042&r2=1214043&view=diff
==============================================================================
--- tuscany/sca-cpp/trunk/components/cache/memcache.cpp (original)
+++ tuscany/sca-cpp/trunk/components/cache/memcache.cpp Wed Dec 14 03:35:21 2011
@@ -102,7 +102,7 @@ private:
 const failable<value> start(unused const list<value>& params) {
     // Connect to memcached
     const value servers = ((lambda<value(list<value>)>)car(params))(list<value>());
-    memcache::MemCached& ch = *(new (gc_new<memcache::MemCached>()) memcache::MemCached(tokenize(",",
servers)));
+    memcache::MemCached& ch = *(new (gc_new<memcache::MemCached>()) memcache::MemCached(tokenize("
", servers)));
 
     // Return the component implementation lambda function
     return value(lambda<value(const list<value>&)>(applyCache(ch)));

Modified: tuscany/sca-cpp/trunk/samples/store-cluster/shared/shared.composite
URL: http://svn.apache.org/viewvc/tuscany/sca-cpp/trunk/samples/store-cluster/shared/shared.composite?rev=1214043&r1=1214042&r2=1214043&view=diff
==============================================================================
--- tuscany/sca-cpp/trunk/samples/store-cluster/shared/shared.composite (original)
+++ tuscany/sca-cpp/trunk/samples/store-cluster/shared/shared.composite Wed Dec 14 03:35:21
2011
@@ -37,7 +37,7 @@
         <service name="Memcache">
             <binding.atom uri="memcache"/>
         </service>
-        <property name="servers">localhost:11211,localhost:11212,localhost:11213</property>
+        <property name="servers">localhost:11211 localhost:11212 localhost:11213</property>
     </component>
 
     <component name="Masterdb">



Mime
View raw message