Groovy Documentation

[Groovy] Class CacheStartedListener

java.lang.Object
  com.coherentlogic.grails.infinispan.listeners.BaseListener
      CacheStartedListener

class CacheStartedListener
extends BaseListener

A listener that handles Infinispan CacheStartedEvents.

Authors:
Thomas P. Fuller


Constructor Summary
CacheStartedListener(groovy.lang.Closure closure)

 
Method Summary
void cacheStarted(java.lang.Object cacheStartedEvent)

Method that receives notifications that a cache has started and delegates this call to the cacheStartedClosure, passing in the cacheStartedEvent.

 

Constructor Detail

CacheStartedListener

CacheStartedListener(groovy.lang.Closure closure)


 
Method Detail

cacheStarted

@CacheStarted
void cacheStarted(java.lang.Object cacheStartedEvent)
Method that receives notifications that a cache has started and delegates this call to the cacheStartedClosure, passing in the cacheStartedEvent.
Parameters:
cacheStartedEvent - An instance of CacheStartedEvent.
See Also:


 

Groovy Documentation