IBM WebSphere Application ServerTM
Release 8

com.ibm.websphere.cache
Interface ServletCache


public interface ServletCache

This class provides applications with an interface to access a WebSphere Dynamic Servlet Cache, allowing manipulation of the cache.


Method Summary
 void invalidateById(java.lang.String key, boolean waitOnInvalidation)
          invalidateById - invalidates the given key.
 

Method Detail

invalidateById

void invalidateById(java.lang.String key,
                    boolean waitOnInvalidation)
invalidateById - invalidates the given key. If the key is for a specific cache entry, then only that object is invalidated. If the key is for a dependency id, then all objects that share that dependency id will be invalidated.

Parameters:
key - the key which will be invalidated
waitOnInvalidation - True indicates that this method should not return until the invalidations have taken effect on all caches. False indicates that the invalidations will be queued for later batch processing.

IBM WebSphere Application ServerTM
Release 8