com.ibm.wsspi.cache

Class CacheFeatureSupport

  1. java.lang.Object
  2. extended bycom.ibm.wsspi.cache.CacheFeatureSupport

  1. public abstract class CacheFeatureSupport
  2. 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

Constructor Summary

Constructor and Description
CacheFeatureSupport()

Method Summary

Modifier and Type Method and Description
  1. abstract
  2. boolean
isAliasSupported()
Indicates if the cache alias ID is supported.
  1. abstract
  2. boolean
isDiskCacheSupported()
Indicates if WebSphere disk cache feature is supported.
  1. abstract
  2. boolean
isReplicationSupported()
Indicates if WebSphere Data Replication Services (DRS) style cache replication is supported.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

CacheFeatureSupport

  1. public CacheFeatureSupport()

Method Detail

isAliasSupported

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

isReplicationSupported

  1. 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

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