Groovy Documentation

[Groovy] Class CacheResolverSpec

java.lang.Object
  spock.lang.Specification
      grails.plugin.spock.IntegrationSpec
          CacheResolverSpec

@Issue("http://jira.codehaus.org/browse/GRAILSPLUGINS-2167")
@Stepwise
class CacheResolverSpec
extends grails.plugin.spock.IntegrationSpec

Field Summary
 
Fields inherited from class grails.plugin.spock.IntegrationSpec
$spock_sharedInstance, __timeStamp, __timeStamp__239_neverHappen1292024058043, _
 
Fields inherited from class spock.lang.Specification
_
 
Property Summary
java.lang.Object piracyService

java.lang.Object springcacheCacheManager

 
Constructor Summary
CacheResolverSpec()

 
Method Summary
java.lang.Object a method annotation can declare a custom cache resolver()

java.lang.Object caches can be re-used by the resolver()

java.lang.Object cleanupSpec()

java.lang.Object flush annotations can use a cache resolver()

private net.sf.ehcache.Statistics getStats(java.lang.String name)

java.lang.Object setupSpec()

java.lang.Object subsequent calls may use the same cache()

java.lang.Object the resolver can cause a different cache to be used()

 
Methods inherited from class grails.plugin.spock.IntegrationSpec
grails.plugin.spock.IntegrationSpec#setProperty(java.lang.String, java.lang.Object), grails.plugin.spock.IntegrationSpec#getProperty(java.lang.String), grails.plugin.spock.IntegrationSpec#invokeMethod(java.lang.String, java.lang.Object), grails.plugin.spock.IntegrationSpec#getMetaClass(), grails.plugin.spock.IntegrationSpec#setMetaClass(groovy.lang.MetaClass), grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#super, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#this, grails.plugin.spock.IntegrationSpec#old(java.lang.Object), grails.plugin.spock.IntegrationSpec#thrown(java.lang.Class), grails.plugin.spock.IntegrationSpec#thrown(), grails.plugin.spock.IntegrationSpec#notThrown(java.lang.Class), grails.plugin.spock.IntegrationSpec#noExceptionThrown(), grails.plugin.spock.IntegrationSpec#Mock(), grails.plugin.spock.IntegrationSpec#Mock(java.lang.Class), grails.plugin.spock.IntegrationSpec#interaction(groovy.lang.Closure), grails.plugin.spock.IntegrationSpec#wait(), grails.plugin.spock.IntegrationSpec#wait(long), grails.plugin.spock.IntegrationSpec#wait(long, int), grails.plugin.spock.IntegrationSpec#equals(java.lang.Object), grails.plugin.spock.IntegrationSpec#toString(), grails.plugin.spock.IntegrationSpec#hashCode(), grails.plugin.spock.IntegrationSpec#getClass(), grails.plugin.spock.IntegrationSpec#notify(), grails.plugin.spock.IntegrationSpec#notifyAll()
 
Methods inherited from class spock.lang.Specification
spock.lang.Specification#old(java.lang.Object), spock.lang.Specification#thrown(java.lang.Class), spock.lang.Specification#thrown(), spock.lang.Specification#notThrown(java.lang.Class), spock.lang.Specification#noExceptionThrown(), spock.lang.Specification#Mock(), spock.lang.Specification#Mock(java.lang.Class), spock.lang.Specification#interaction(groovy.lang.Closure), spock.lang.Specification#wait(), spock.lang.Specification#wait(long), spock.lang.Specification#wait(long, int), spock.lang.Specification#equals(java.lang.Object), spock.lang.Specification#toString(), spock.lang.Specification#hashCode(), spock.lang.Specification#getClass(), spock.lang.Specification#notify(), spock.lang.Specification#notifyAll()
 
Methods inherited from class java.lang.Object
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Property Detail

piracyService

java.lang.Object piracyService


springcacheCacheManager

@AutoCleanup("removalAll")
@Shared
java.lang.Object springcacheCacheManager


 
Constructor Detail

CacheResolverSpec

CacheResolverSpec()


 
Method Detail

a method annotation can declare a custom cache resolver

java.lang.Object a method annotation can declare a custom cache resolver()


caches can be re-used by the resolver

java.lang.Object caches can be re-used by the resolver()


cleanupSpec

java.lang.Object cleanupSpec()


flush annotations can use a cache resolver

java.lang.Object flush annotations can use a cache resolver()


getStats

private net.sf.ehcache.Statistics getStats(java.lang.String name)


setupSpec

java.lang.Object setupSpec()


subsequent calls may use the same cache

java.lang.Object subsequent calls may use the same cache()


the resolver can cause a different cache to be used

java.lang.Object the resolver can cause a different cache to be used()


 

Groovy Documentation