ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pragmaticbigdata <amits...@gmail.com>
Subject Re: Simulating Graph Dependencies With Ignite
Date Thu, 02 Jun 2016 14:00:43 GMT
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&lt;Object>> resultMap =
                .map(String::valueOf).collect(Collectors.toSet()), new
EntryProcessor<String, ProductDetails, Object>() {

            public Object process(MutableEntry<String, ProductDetails>
mutableEntry, Object... objects) throws EntryProcessorException {
                return updateCacheEntry(mutableEntry.getKey(),

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.

View raw message