1. I will need to instrument and calculate the size of the ProductDetail
object. It has 7 Double attributes along with a String. ~ 100-150 bytes.
2. Below is the code that fails
Map<String, EntryProcessorResult<Object>> resultMap =
productCache.invokeAll(keyList.stream()
.map(String::valueOf).collect(Collectors.toSet()), new
EntryProcessor<String, ProductDetails, Object>() {
@Override
public Object process(MutableEntry<String, ProductDetails>
mutableEntry, Object... objects) throws EntryProcessorException {
return updateCacheEntry(mutableEntry.getKey(),
mutableEntry.getValue());
}
});
The updateCacheEntry() executes a cache.put(key, productDetails) and returns
one of the relevant attributes from the productDetails object.
Let me know your inputs.
--
View this message in context:
http://apache-ignite-users.70518.x6.nabble.com/Simulating-Graph-Dependencies-With-Ignite-tp5282p5384.html
Sent from the Apache Ignite Users mailing list archive at Nabble.com.