Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Spring Cache abstraction implementation for spymemcached
branch: master
Failed to load latest commit information.
src removed unused import
.gitignore Ignore eclipse project file
README.md Merge remote branch 'origin/master'
bnd.bnd Initial commit
pom.xml updated pom file to use spring 3.1.1.RELEASE

README.md

spymemcached-springcache is a Spring Cache abstraction implementation for spymemcached

Usage

Usage is very similar to the standard spring cache abstractions

<bean id="memcachedClient" class="net.spy.memcached.spring.MemcachedClientFactoryBean">
  ...
</bean>

<bean id="cacheManager" class="org.springframework.cache.support.SimpleCacheManager">
  <property name="caches">
    <set>
      <bean class="net.spy.memcached.spring.cache.MemcachedCache">
          <property name="name" value="default">
          <property name="client" ref="memcachedClient">
          <property name="expiry" value="3600">
      </bean>
    </set>
  </property>
</bean>
Something went wrong with that request. Please try again.