#1222 - Extend L2 ServerCache API with putAll(), getAll() and removeAll() methods

This commit is contained in:
Rob Bygrave
2017-12-13 19:58:28 +13:00
parent c7f4b56dd1
commit 4d0b29624e
7 changed files with 100 additions and 33 deletions
@@ -157,9 +157,9 @@ public class LoadBeanRequest extends LoadRequest {
for (Object aList : list) {
EntityBean loadedBean = (EntityBean) aList;
loadedIds.add(desc.getId(loadedBean));
if (isLoadCache()) {
desc.cacheBeanPut(loadedBean);
}
}
if (isLoadCache()) {
desc.cacheBeanPutAll(list);
}
if (lazyLoadProperty != null) {