Groovy Documentation

com.coherentlogic.grails.infinispan.listeners.embeddedcachemanager
[Groovy] Class CacheStoppedListener

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

class CacheStoppedListener
extends BaseListener

A listener that handles Infinispan CacheStoppedEvents.

Authors:
Thomas P. Fuller


Constructor Summary
CacheStoppedListener(groovy.lang.Closure closure)

 
Method Summary
void cacheStopped(java.lang.Object cacheStoppedEvent)

Method calls the closure passing the cacheStoppedEvent as the it param.

 

Constructor Detail

CacheStoppedListener

CacheStoppedListener(groovy.lang.Closure closure)


 
Method Detail

cacheStopped

@CacheStopped
void cacheStopped(java.lang.Object cacheStoppedEvent)
Method calls the closure passing the cacheStoppedEvent as the it param.
Parameters:
cacheStoppedEvent - An instance of the Infinispan CacheStoppedEvent.


 

Groovy Documentation