A memcached client for clojure wrapping xmemcached

2011-10-29 Thread dennis
Hi,all

I wrote a memcached client for clojure wrapping xmemcached.Xmemcached
is an opensource high performance memcached client for java.

 It's name is clj-xmemcached,and it is on github

https://github.com/killme2008/clj-xmemcached

A basic example:

(ns demo
  (:use [clj-xmemcached.core]))

(def client (xmemcached localhost:12000))
(xset client key value)
(prn (xget client key))
(xcas client key #(str %  update))
(xshutdown client)

More detail please visit the github homepage.


-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: A memcached client for clojure wrapping xmemcached

2011-10-29 Thread dennis zhuang
An example with more detail is on

https://github.com/killme2008/clj-xmemcached/blob/master/example/demo.clj


2011/10/29 dennis killme2...@gmail.com

 Hi,all

 I wrote a memcached client for clojure wrapping xmemcached.Xmemcached
 is an opensource high performance memcached client for java.

  It's name is clj-xmemcached,and it is on github

 https://github.com/killme2008/clj-xmemcached

 A basic example:

 (ns demo
  (:use [clj-xmemcached.core]))

 (def client (xmemcached localhost:12000))
 (xset client key value)
 (prn (xget client key))
 (xcas client key #(str %  update))
 (xshutdown client)

 More detail please visit the github homepage.





-- 
庄晓丹
Email:killme2...@gmail.com
伯岩(花名)  bo...@taobao.com
Site:   http://fnil.net

淘宝(中国)软件有限公司 / 产品技术部 / Java中间件

-- 
You received this message because you are subscribed to the Google
Groups Clojure group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en