Deprecated API


Deprecated Interfaces

Interface and Description
com.ibm.websphere.cache.Cache
Use DistributedMap to store and manage objects in cache. DynamicCacheAccessor#getDistributedMap will return a DistributedMap for accessing base cache.

Deprecated Fields

Field and Description
com.ibm.websphere.cache.EntryInfo.SHARED_PULL
Share type PULL should not be used in new code development. Use share type PUSH_PULL instead. Share type PULL, if used in existing code, will function like share type PUSH_PULL.
com.ibm.websphere.cache.DistributedObjectCache.TYPE_DISTRIBUTED_LOCKING_MAP
TYPE_DISTRIBUTED_LOCKING_MAP is no longer used.

Deprecated Methods

Method and Description
com.ibm.websphere.cache.Cache.clear()
Use DistributedMap to store and manage objects in cache.
com.ibm.websphere.cache.Cache.getAllDependencyIds()
Use DistributedMap to store and manage objects in cache.
com.ibm.websphere.cache.Cache.getAllIds()
Use DistributedMap to store and manage objects in cache.
com.ibm.websphere.cache.DynamicCacheAccessor.getCache()
Use DistributedMap to store and manage objects in cache. DynamicCacheAccessor#getDistributedMap will return a DistributedMap for accessing base cache.
com.ibm.websphere.cache.Cache.getCacheIdsByDependency(String)
Use DistributedMap to store and manage objects in cache.
com.ibm.websphere.cache.Cache.getCacheIdsByTemplate(String)
Use DistributedMap to store and manage objects in cache.
com.ibm.websphere.cache.Cache.getDefaultPriority()
Use DistributedMap to store and manage objects in cache.
com.ibm.websphere.cache.DynamicCacheAccessor.getDistributedMap()
baseCache is used for servlet caching. It should not be used as a DistributedMap.
com.ibm.websphere.cache.Cache.getEntry(EntryInfo)
Use DistributedMap to store and manage objects in cache.
com.ibm.websphere.cache.Cache.getEntry(String)
Use DistributedMap to store and manage objects in cache.
com.ibm.ws.cache.spi.DistributedMapFactory.getMap(String)
Use DistributedObjectCacheFactory
com.ibm.ws.cache.spi.DistributedMapFactory.getMap(String, Properties)
Use DistributedObjectCacheFactory
com.ibm.websphere.cache.Cache.getMaxNumberCacheEntries()
Use DistributedMap to store and manage objects in cache.
com.ibm.websphere.cache.Cache.getNumberCacheEntries()
Use DistributedMap to store and manage objects in cache.
com.ibm.websphere.cache.Cache.getValue(EntryInfo, boolean)
Use DistributedMap to store and manage objects in cache.
com.ibm.websphere.cache.Cache.getValue(Object, boolean)
Use DistributedMap to store and manage objects in cache.
com.ibm.websphere.cache.Cache.getValue(String, boolean)
Use DistributedMap to store and manage objects in cache.
com.ibm.websphere.cache.Cache.invalidateById(String, boolean)
Use DistributedMap to store and manage objects in cache.
com.ibm.websphere.cache.Cache.invalidateByTemplate(String, boolean)
Use DistributedMap to store and manage objects in cache.
com.ibm.wsspi.cache.CacheEntry.isBatchEnabled()
The updates for Push or Push-Pull sharing policies are always done in an asynchronous batch mode. It always returns true.
com.ibm.websphere.cache.EntryInfo.isBatchEnabled()
The updates for Push or Push-Pull sharing policies are always done in an asynchronous batch mode. It always returns true.
com.ibm.websphere.cache.CacheEntry.isBatchEnabled()
The updates for Push or Push-Pull sharing policies are always done in an asynchronous batch mode. It always returns true.
com.ibm.websphere.cache.EntryInfo.setBatchEnabled(boolean)
The updates for Push or Push-Pull sharing policies are always done in an asynchronous batch mode. Calling setBatchEnabled(false) has no effect on cache replication.