com.ibm.wsspi.cache

Class CacheFeatureSupport

  • java.lang.Object
    • com.ibm.wsspi.cache.CacheFeatureSupport


  • public abstract class CacheFeatureSupport
    extends java.lang.Object
    This abstract class is used to indicate the features that are supported by a cache provider. Functionality such as servlet caching, JSP, webservices, command cache, DistributedMap and DistributedNioMap checks with this class before invoking a particular function.

    Methods need to be extended by CacheProviders for each of the features listed below. All cache providers other than the default (Dynacache) will return false for ALL the methods in this abstract class. In subsequent releases of WebSphere, CacheProviders may be allowed to support the features listed below.

    Since:
    WAS 6.1.0.27
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      abstract boolean isAliasSupported()
      Indicates if the cache alias ID is supported.
      abstract boolean isDiskCacheSupported()
      Indicates if WebSphere disk cache feature is supported.
      abstract boolean isReplicationSupported()
      Indicates if WebSphere Data Replication Services (DRS) style cache replication is supported.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CacheFeatureSupport

        public CacheFeatureSupport()
    • Method Detail

      • isAliasSupported

        public abstract boolean isAliasSupported()
        Indicates if the cache alias ID is supported.
        Returns:
        true - the cache alias feature is supported.
      • isReplicationSupported

        public abstract boolean isReplicationSupported()
        Indicates if WebSphere Data Replication Services (DRS) style cache replication is supported.
        Returns:
        true - the cache replication feature is support.
      • isDiskCacheSupported

        public abstract boolean isDiskCacheSupported()
        Indicates if WebSphere disk cache feature is supported.
        Returns:
        true - the disk cache feature is support.