com.hazelcast.spring.mongodb
Class MongoMapStore
java.lang.Object
com.hazelcast.spring.mongodb.MongoMapStore
- All Implemented Interfaces:
- MapLoader, MapLoaderLifecycleSupport, MapStore
public class MongoMapStore
- extends Object
- implements MapStore, MapLoaderLifecycleSupport
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected static final Logger logger
MongoMapStore
public MongoMapStore()
getMongoTemplate
public org.springframework.data.mongodb.core.MongoTemplate getMongoTemplate()
setMongoTemplate
public void setMongoTemplate(org.springframework.data.mongodb.core.MongoTemplate mongoTemplate)
store
public void store(Object key,
Object value)
- Specified by:
store in interface MapStore
storeAll
public void storeAll(Map map)
- Specified by:
storeAll in interface MapStore
delete
public void delete(Object key)
- Specified by:
delete in interface MapStore
deleteAll
public void deleteAll(Collection keys)
- Specified by:
deleteAll in interface MapStore
load
public Object load(Object key)
- Specified by:
load in interface MapLoader
loadAll
public Map loadAll(Collection keys)
- Specified by:
loadAll in interface MapLoader
loadAllKeys
public Set loadAllKeys()
- Specified by:
loadAllKeys in interface MapLoader
init
public void init(HazelcastInstance hazelcastInstance,
Properties properties,
String mapName)
- Specified by:
init in interface MapLoaderLifecycleSupport
destroy
public void destroy()
- Specified by:
destroy in interface MapLoaderLifecycleSupport
Copyright © 2013 Hazelcast, Inc.. All Rights Reserved.