Class JCSListener<K,V>

java.lang.Object
org.apache.commons.jcs3.jcache.JCSListener<K,V>
All Implemented Interfaces:
Closeable, AutoCloseable

public class JCSListener<K,V> extends Object implements Closeable
  • Constructor Summary

    Constructors
    Constructor
    Description
    JCSListener(javax.cache.configuration.CacheEntryListenerConfiguration<K,V> cacheEntryListenerConfiguration)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    void
    onCreated(List<javax.cache.event.CacheEntryEvent<? extends K,? extends V>> events)
     
    void
    onExpired(List<javax.cache.event.CacheEntryEvent<? extends K,? extends V>> events)
     
    void
    onRemoved(List<javax.cache.event.CacheEntryEvent<? extends K,? extends V>> events)
     
    void
    onUpdated(List<javax.cache.event.CacheEntryEvent<? extends K,? extends V>> events)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • JCSListener

      public JCSListener(javax.cache.configuration.CacheEntryListenerConfiguration<K,V> cacheEntryListenerConfiguration)
  • Method Details

    • onRemoved

      public void onRemoved(List<javax.cache.event.CacheEntryEvent<? extends K,? extends V>> events) throws javax.cache.event.CacheEntryListenerException
      Throws:
      javax.cache.event.CacheEntryListenerException
    • onExpired

      public void onExpired(List<javax.cache.event.CacheEntryEvent<? extends K,? extends V>> events) throws javax.cache.event.CacheEntryListenerException
      Throws:
      javax.cache.event.CacheEntryListenerException
    • onUpdated

      public void onUpdated(List<javax.cache.event.CacheEntryEvent<? extends K,? extends V>> events) throws javax.cache.event.CacheEntryListenerException
      Throws:
      javax.cache.event.CacheEntryListenerException
    • onCreated

      public void onCreated(List<javax.cache.event.CacheEntryEvent<? extends K,? extends V>> events) throws javax.cache.event.CacheEntryListenerException
      Throws:
      javax.cache.event.CacheEntryListenerException
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface Closeable