]
Manik Surtani updated ISPN-86:
------------------------------
Fix Version/s: 4.0.0.BETA1
Affects Version/s: 4.0.0.ALPHA4
(was: 4.0.0.BETA1)
InternalCacheValue/InternalCacheEntry optimization
--------------------------------------------------
Key: ISPN-86
URL:
https://jira.jboss.org/jira/browse/ISPN-86
Project: Infinispan
Issue Type: Feature Request
Components: Core API
Affects Versions: 4.0.0.ALPHA4
Reporter: Mircea Markus
Assignee: Mircea Markus
Fix For: 4.0.0.BETA1
From a IRC discussion with Manik:
Right now an InternalCacheValue(ICV) is created from an InternalCacheEntry(ICE) by the
CacheStore whenever we persist an entry: this is in order to avoid duplicate marshalling
of the key.
Same way, an InternalCacheEntry is created from an ICV whenever the value is
unmarshalled.
Avoid this unnecessary creation of objects by making ICE aggregate an ICV, and delegate
all the state calls to it.
Impl note: in order to allow delegation from ICE to ICV, make all the ICV's methods
final.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: