CacheEventListener (Oracle Application Server Java Object Cache API Reference)
oracle.ias.cache
Interface CacheEventListener
- All Superinterfaces:
- java.util.EventListener
- public interface CacheEventListener
- extends java.util.EventListener
CacheEventListener is an interface an application can implement for
special handling of events such as object invalidation.
- Since:
- 2.0.0
handleEvent
public void handleEvent(CacheEvent ce)
throws CacheException
- handleEvent is a callback method. When a registered event happens, the
cache invokes this method and passes in a CacheEvent object.
- Parameters:
ce - is the CacheEvent representing the event that being handled.
- Throws:
CacheException - thrown if some error occurs. Application
can include the original exception as a base exception in CacheException.- Since:
- 2.0.0
Copyright © 2004, 2005, Oracle. All rights reserved.
|