Link Details

Link 1056443 thumbnail
User 1188717 avatar

By data4j
via data4j.org
Published: Oct 28 2013 / 14:18

com.hazelcast.core.MapLoader Interface provides very important flexibility for data access. Distributed map implementation is an in-memory data store but it can be backed by any type of data store such as RDBMS, OODBMS, or simply a file based data store. MapLoader initialization flow is as the following : 1- When getMap() first called from any node, initialization starts 2- Hazelcast will call MapLoader.loadAllKeys() to get all your keys on each node 3- Each node will figure out the list of keys it owns 4- Each node will load all its owned keys by calling MapLoader.loadAll(keys) 5- Each node puts its owned entries into the map by calling IMap.putTransient(key,value) This article shows how to implement Hazelcast MapLoader Feature. Used Technologies : JDK 1.7.0_40, Spring 3.2.4, Hazelcast 3.0, Hibernate 4.1.8, Tomcat-Jdbc 7.0.27, MySQL Connector 5.1.17, Maven 3.0.4
  • 6
  • 0
  • 1035
  • 1303

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (6)



Voters Against This Link (0)



    Spring Integration
    Written by: Soby Chacko
    Featured Refcardz: Top Refcardz:
    1. Search Patterns
    2. Python
    3. C++
    4. Design Patterns
    5. OO JS
    1. PhoneGap
    2. Spring Integration
    3. Regex
    4. Git
    5. Java