Groovy Documentation

grails.plugin.springcache.web
[Groovy] Class StaticScaffoldingCachingSpec

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

class StaticScaffoldingCachingSpec
extends AbstractContentCachingSpec

Property Summary
net.sf.ehcache.Ehcache albumControllerCache

 
Constructor Summary
StaticScaffoldingCachingSpec()

 
Method Summary
java.lang.Object an invalid show page does not get cached()

java.lang.Object cached content can be flushed by other actions()

java.lang.Object cleanup()

java.lang.Object different show pages are cached separately()

java.lang.Object failed save still flushes cache()

private long getCacheHits()

private long getCacheMisses()

private long getCacheSize()

java.lang.Object opening a page when the cache is empty misses the cache()

java.lang.Object reloading a page hits the cache()

 

Property Detail

albumControllerCache

@Shared
net.sf.ehcache.Ehcache albumControllerCache


 
Constructor Detail

StaticScaffoldingCachingSpec

StaticScaffoldingCachingSpec()


 
Method Detail

an invalid show page does not get cached

java.lang.Object an invalid show page does not get cached()


cached content can be flushed by other actions

java.lang.Object cached content can be flushed by other actions()


cleanup

java.lang.Object cleanup()


different show pages are cached separately

java.lang.Object different show pages are cached separately()


failed save still flushes cache

java.lang.Object failed save still flushes cache()


getCacheHits

private long getCacheHits()


getCacheMisses

private long getCacheMisses()


getCacheSize

private long getCacheSize()


opening a page when the cache is empty misses the cache

java.lang.Object opening a page when the cache is empty misses the cache()


reloading a page hits the cache

java.lang.Object reloading a page hits the cache()


 

Groovy Documentation