|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.hazelcast.spring.jpa.JPAMapStore
public class JPAMapStore
Constructor Summary | |
---|---|
JPAMapStore()
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JPAMapStore()
Method Detail |
---|
public org.springframework.data.repository.CrudRepository getCrudRepository()
public void setCrudRepository(org.springframework.data.repository.CrudRepository crudRepository)
public void store(Serializable key, Object value)
MapStore
store
in interface MapStore<Serializable,Object>
key
- key of the entry to storevalue
- value of the entry to storepublic void storeAll(Map map)
MapStore
storeAll
in interface MapStore<Serializable,Object>
map
- map of entries to storepublic void delete(Serializable key)
MapStore
delete
in interface MapStore<Serializable,Object>
key
- key to delete from the store.public Object load(Serializable key)
MapLoader
load
in interface MapLoader<Serializable,Object>
public void deleteAll(Collection keys)
MapStore
deleteAll
in interface MapStore<Serializable,Object>
keys
- keys of the entries to delete.public Map loadAll(Collection collection)
MapLoader
loadAll
in interface MapLoader<Serializable,Object>
collection
- keys of the values entries to load
public Set loadAllKeys()
MapLoader
loadAllKeys
in interface MapLoader<Serializable,Object>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |