public class JPAMapStore extends Object implements MapStore<Serializable,Object>
| Constructor and Description |
|---|
JPAMapStore() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(Serializable key)
Deletes the entry with a given key from the store.
|
void |
deleteAll(Collection keys)
Deletes multiple entries from the store.
|
org.springframework.data.repository.CrudRepository |
getCrudRepository() |
Object |
load(Serializable key)
Loads the value of a given key.
|
Map |
loadAll(Collection collection)
Loads given keys.
|
Set |
loadAllKeys()
Loads all of the keys from the store.
|
void |
setCrudRepository(org.springframework.data.repository.CrudRepository crudRepository) |
void |
store(Serializable key,
Object value)
Stores the key-value pair.
|
void |
storeAll(Map map)
Stores multiple entries.
|
public org.springframework.data.repository.CrudRepository getCrudRepository()
public void setCrudRepository(org.springframework.data.repository.CrudRepository crudRepository)
public void store(Serializable key, Object value)
MapStorestore in interface MapStore<Serializable,Object>key - key of the entry to storevalue - value of the entry to storepublic void storeAll(Map map)
MapStorestoreAll in interface MapStore<Serializable,Object>map - map of entries to storepublic void delete(Serializable key)
MapStoredelete in interface MapStore<Serializable,Object>key - key to delete from the store.public Object load(Serializable key)
MapLoaderload in interface MapLoader<Serializable,Object>public void deleteAll(Collection keys)
MapStoredeleteAll in interface MapStore<Serializable,Object>keys - keys of the entries to delete.public Map loadAll(Collection collection)
MapLoaderloadAll in interface MapLoader<Serializable,Object>collection - keys of the values entries to loadpublic Set loadAllKeys()
MapLoaderloadAllKeys in interface MapLoader<Serializable,Object>Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.