This rule flags the deprecated methods and fields from the com.ibm.websphere.cache.CacheEntry and the com.ibm.websphere.cache.EntryInfo interfaces. The binary application scanner does not flag references to the fields because the application binaries contain only the resolved integer value. The following methods and fields are detected:
These methods and fields were deprecated in WebSphere Application Server Version 6.0 and might be removed in a future release.
| Method/Field | Description |
|---|---|
| CacheEntry.isBatchEnabled(), EntryInfo.isBatchEnabled() | The updates for Push or Push-Pull sharing policies are always done in an asynchronous batch mode. This method always returns true. |
| 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. |
| EntryInfo.SHARED_PULL | Share type PULL should not be used in new code development. Use share type PUSH_PULL instead. Share type PULL will function like share type PUSH_PULL. |
For additional class information, see
The full Deprecated API list is in the documentation.