FengRi / hazelcast-cache

MyBatis Hazelcast adapter

Home Page:http://mybatis.github.io/hazelcast-cache

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MyBatis Hazelcast Extension

Build Status Coverage Status Dependency Status Maven central Apache 2

mybatis-logo

MyBatis-Hazelcast extension Hazelcast support for MyBatis Cache.

Essentials

This module contains two cache implementations utilizing Hazelcast:

  1. org.mybatis.caches.hazelcast.HazelcastCache:

Use "org.mybatis.caches.hazelcast.HazelcastCache" if you want the JVM running MyBatis to be part of the Hazelcast cache cluster.

Internally this is calling "Hazelcast.newHazelcastInstance()".

  1. org.mybatis.caches.hazelcast.HazelcastClientCache:

Use "org.mybatis.caches.hazelcast.HazelcastClientCache" if you want the JVM running MyBatis to be a client to a Hazelcast cache cluster running outside the JVM running MyBatis.

Internally this is calling "HazelcastClient.newHazelcastClient()". Also see http://hazelcast.org/docs/latest/manual/html/nativeclient.html

About

MyBatis Hazelcast adapter

http://mybatis.github.io/hazelcast-cache

License:Apache License 2.0


Languages

Language:Java 90.5%Language:Shell 9.5%