Groovy Documentation

grails.plugin.springcache
[Groovy] Class CachingSpec

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

class CachingSpec
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
CachingSpec()

 
Method Summary
java.lang.Object cached results are for subsequent method calls with default arguments()

java.lang.Object cached results are not returned for subsequent method calls with different arguments()

java.lang.Object cached results are returned from subsequent method calls()

java.lang.Object caches are created on demand if they do not exist()

java.lang.Object caches can be flushed()

java.lang.Object caches created on demand have default configuration applied()

java.lang.Object caching is applied to internal calls()

java.lang.Object cleanup()

java.lang.Object multiple caches can be flushed by a single method()

java.lang.Object setup()

java.lang.Object the cache is flushed even if the flushing method fails()

 
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

java.lang.Object springcacheCacheManager


 
Constructor Detail

CachingSpec

CachingSpec()


 
Method Detail

cached results are for subsequent method calls with default arguments

@Issue("http://jira.codehaus.org/browse/GRAILSPLUGINS-2553")
@Ignore
java.lang.Object cached results are for subsequent method calls with default arguments()


cached results are not returned for subsequent method calls with different arguments

java.lang.Object cached results are not returned for subsequent method calls with different arguments()


cached results are returned from subsequent method calls

java.lang.Object cached results are returned from subsequent method calls()


caches are created on demand if they do not exist

java.lang.Object caches are created on demand if they do not exist()


caches can be flushed

java.lang.Object caches can be flushed()


caches created on demand have default configuration applied

java.lang.Object caches created on demand have default configuration applied()


caching is applied to internal calls

@Issue("http://jira.codehaus.org/browse/GRAILSPLUGINS-2553")
@Ignore
java.lang.Object caching is applied to internal calls()


cleanup

java.lang.Object cleanup()


multiple caches can be flushed by a single method

java.lang.Object multiple caches can be flushed by a single method()


setup

java.lang.Object setup()


the cache is flushed even if the flushing method fails

java.lang.Object the cache is flushed even if the flushing method fails()


 

Groovy Documentation