public class MongoMapStore extends Object implements MapStore, MapLoaderLifecycleSupport
| Constructor and Description |
|---|
MongoMapStore() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(Object key) |
void |
deleteAll(Collection keys) |
void |
destroy() |
org.springframework.data.mongodb.core.MongoTemplate |
getMongoTemplate() |
void |
init(HazelcastInstance hazelcastInstance,
Properties properties,
String mapName) |
Object |
load(Object key) |
Map |
loadAll(Collection keys) |
Set |
loadAllKeys() |
void |
setMongoTemplate(org.springframework.data.mongodb.core.MongoTemplate mongoTemplate) |
void |
store(Object key,
Object value) |
void |
storeAll(Map map) |
protected static final Logger logger
public org.springframework.data.mongodb.core.MongoTemplate getMongoTemplate()
public void setMongoTemplate(org.springframework.data.mongodb.core.MongoTemplate mongoTemplate)
public void deleteAll(Collection keys)
public Map loadAll(Collection keys)
public Set loadAllKeys()
loadAllKeys in interface MapLoaderpublic void init(HazelcastInstance hazelcastInstance, Properties properties, String mapName)
init in interface MapLoaderLifecycleSupportpublic void destroy()
destroy in interface MapLoaderLifecycleSupportCopyright © 2014 Hazelcast, Inc.. All Rights Reserved.