Hazelcast TreeMap and serialization issue

312 views
Skip to first unread message

Nishant Mishra

unread,
Jul 22, 2013, 4:22:29 AM7/22/13
to haze...@googlegroups.com
Good Afternoon,

In our organization we are trying to implement hazelcast as a caching
solution.
but unable to retrive TreeMap from hazelcast instance. and also tried
with normal Map but
it leads to the java.lang.Object not a serializable exception.
please let me know how to get Hazelcast TreeMap and solve the other issues.



Thanks for your help in advance.


--
Thanks & Regards,
Nishant Mishra | Jr. Software Developer, 24Online | Elitecore Technologies Pvt. Ltd.
Ahmedabad | India � Ext: 1216| F. +91-79-26407640 |
E: nishant...@elitecore.com | W: www.24onlinebilling.com | Skype: mishra.nishant4 |

Peter Veentjer

unread,
Jul 22, 2013, 4:43:08 AM7/22/13
to haze...@googlegroups.com
Afaik there is no TreeMap for Hazelcast. 

Can you explain what you are trying to do and post some code.


On Mon, Jul 22, 2013 at 11:22 AM, Nishant Mishra <nishant...@elitecore.com> wrote:
Good Afternoon,

In our organization we are trying to implement hazelcast as a caching solution.
but unable to retrive TreeMap from hazelcast instance. and also tried with normal Map but
it leads to the java.lang.Object not a serializable exception.
please let me know how to get Hazelcast TreeMap and solve the other issues.



Thanks for your help in advance.



--
Thanks & Regards,
Nishant Mishra | Jr. Software Developer, 24Online | Elitecore Technologies Pvt. Ltd.
Ahmedabad | India –  Ext: 1216| F. +91-79-26407640 |

E: nishant...@elitecore.com | W: www.24onlinebilling.com | Skype: mishra.nishant4 |

--
You received this message because you are subscribed to the Google Groups "Hazelcast" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hazelcast+unsubscribe@googlegroups.com.
To post to this group, send email to haze...@googlegroups.com.
Visit this group at http://groups.google.com/group/hazelcast.
For more options, visit https://groups.google.com/groups/opt_out.



devis...@gmail.com

unread,
Aug 1, 2013, 7:04:26 AM8/1/13
to haze...@googlegroups.com
Hi Peter,

I am also having the same requirement. Is there any possibility to get the treemap from the hazlecast instance. We have a way to do this in java. hazlecast getMap method will return the map, then we can create the new tree map and make use putAll method we can able to put all entries into the treemap. But tree map is slow. putAll method taking time. I am using hazlecast with storm. Inserting the values from map to treemap by using putAll took 5 seconds. So it reduces my performance.

Any help would be appreciated.

Thank You,
Devi.


On Monday, 22 July 2013 14:13:08 UTC+5:30, peter veentjer wrote:
Afaik there is no TreeMap for Hazelcast. 

Can you explain what you are trying to do and post some code.
On Mon, Jul 22, 2013 at 11:22 AM, Nishant Mishra <nishant...@elitecore.com> wrote:
Good Afternoon,

In our organization we are trying to implement hazelcast as a caching solution.
but unable to retrive TreeMap from hazelcast instance. and also tried with normal Map but
it leads to the java.lang.Object not a serializable exception.
please let me know how to get Hazelcast TreeMap and solve the other issues.



Thanks for your help in advance.



--
Thanks & Regards,
Nishant Mishra | Jr. Software Developer, 24Online | Elitecore Technologies Pvt. Ltd.
Ahmedabad | India –  Ext: 1216| F. +91-79-26407640 |
E: nishant...@elitecore.com | W: www.24onlinebilling.com | Skype: mishra.nishant4 |

--
You received this message because you are subscribed to the Google Groups "Hazelcast" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hazelcast+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages