Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Spring Cache abstraction implementation for spymemcached

branch: master
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.