Link Details

Link 1056443 thumbnail
User 1188717 avatar

By data4j
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
  • 1747
  • 1438

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)

    Apache Hadoop
    Written by: Piotr Krewski
    Featured Refcardz: Top Refcardz:
    1. Play
    2. Akka
    3. Design Patterns
    4. OO JS
    5. Cont. Delivery
    1. Play
    2. Java Performance
    3. Akka
    4. REST
    5. Java