com.ibm.websphere.cache

Interface ServletCache


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

Method Summary

Modifier and Type Method and Description
  1. void
invalidateById(java.lang.String key,boolean waitOnInvalidation)
invalidateById - invalidates the given key.

Method Detail

invalidateById

  1. void invalidateById(java.lang.String key,
  2. 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.