|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StateRepository
A repository allowing to preserve state in the context of a Cache
.
Method Summary | ||
---|---|---|
|
getPersistentConcurrentMap(java.lang.String name,
java.lang.Class<K> keyClass,
java.lang.Class<V> valueClass)
Gets a named persistent map rooted in the current StateRepository . |
Method Detail |
---|
<K extends java.io.Serializable,V extends java.io.Serializable> java.util.concurrent.ConcurrentMap<K,V> getPersistentConcurrentMap(java.lang.String name, java.lang.Class<K> keyClass, java.lang.Class<V> valueClass)
StateRepository
.
If the map existed already, it is returned with its content fully available.
K
- the map key type, must be Serializable
V
- the map value type, must be Serializable
name
- the map namekeyClass
- concrete map key typevalueClass
- concrete map value type
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |