Package com.ibm.wsspi.cache
Class CacheFeatureSupport
- java.lang.Object
-
- com.ibm.wsspi.cache.CacheFeatureSupport
-
public abstract class CacheFeatureSupport extends java.lang.ObjectThis 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
falsefor 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
Constructors Constructor Description CacheFeatureSupport()
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract booleanisAliasSupported()Indicates if the cache alias ID is supported.abstract booleanisDiskCacheSupported()Indicates if WebSphere disk cache feature is supported.abstract booleanisReplicationSupported()Indicates if WebSphere Data Replication Services (DRS) style cache replication is supported.
-
-
-
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.
-
-