Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
5.1 EE SP4 (5.1.7), 5.2 EE SP2 (5.2.6)
Description
The API used to access the cache is inconsistent. This bug fix makes cache accessing consistent and deprecates redundant methods.
API CHANGES:
Class: com.liferay.portal.kernel.cache.MultiVMPoolUtil
Method: get(PortalCache portalCache, String key)
Status: Deprecated
New call: portalCache.get(key)
Method: put(PortalCache portalCache, String key, Object obj)
Status: Deprecated
New call: portalCache.put(key, obj)
Method: put(PortalCache portalCache, String key, Serializable obj)
Status: Deprecated
New call: portalCache.(key, obj)
Method: remove(PortalCache portalCache, String key)
Status: Deprecated
New call: portalCache.remove(key)
Class: com.liferay.portal.kernel.cache.SingleVMPoolUtil
Method: get(PortalCache portalCache, String key)
Status: Deprecated
New call: portalCache.get(key)
Method: put(PortalCache portalCache, String key, Object obj)
Status: Deprecated
New call: portalCache.put(key, obj)
Method: put(PortalCache portalCache, String key, Object obj, int timeToLive)
Status: Deprecated
New call: portalCache.put(key, obj, timeToLive)
Method: put(PortalCache portalCache, String key, Serializable obj)
Status: Deprecated
New call: portalCache.put(key, obj)
Method: put(PortalCache portalCache, String key, Serializable obj, int timeToLive)
Status: Deprecated
New call: portalCache.put(key, obj, timeToLive)
Method: remove(PortalCache portalCache, String key)
Status: Deprecated
New call: portalCache.remove(key)
Attachments
Issue Links
- is related to
-
LPS-5454 Make cache accessing consistent, and deprecate the redundant methods
- Closed