Groovy Documentation

[Groovy] Class ShardedCacheSpec

java.lang.Object
  grails.plugin.springcache.web.AbstractContentCachingSpec
      ShardedCacheSpec

@Issue("http://jira.codehaus.org/browse/GRAILSPLUGINS-2167")
@Stepwise
class ShardedCacheSpec
extends AbstractContentCachingSpec

Constructor Summary
ShardedCacheSpec()

 
Method Summary
java.lang.Object a user only sees their own profile()

private net.sf.ehcache.Ehcache cacheFor(java.lang.String username)

java.lang.Object cleanup()

java.lang.Object cleanupSpec()

java.lang.Object setupSpec()

java.lang.Object when a user updates their profile the cache is flushed()

java.lang.Object when re-visiting the profile page a user sees their own profile delivered from cache()

 

Constructor Detail

ShardedCacheSpec

ShardedCacheSpec()


 
Method Detail

a user only sees their own profile

@Unroll("#username only sees their own profile")
java.lang.Object a user only sees their own profile()


cacheFor

private net.sf.ehcache.Ehcache cacheFor(java.lang.String username)


cleanup

java.lang.Object cleanup()


cleanupSpec

java.lang.Object cleanupSpec()


setupSpec

java.lang.Object setupSpec()


when a user updates their profile the cache is flushed

java.lang.Object when a user updates their profile the cache is flushed()


when re-visiting the profile page a user sees their own profile delivered from cache

@Unroll("when re-visiting the profile page #username sees their own profile delivered from cache")
java.lang.Object when re-visiting the profile page a user sees their own profile delivered from cache()


 

Groovy Documentation