public interface StateRepository
Cache.| Modifier and Type | Method and Description |
|---|---|
<K extends java.io.Serializable,V extends java.io.Serializable> |
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. |
<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 SerializableV - the map value type, must be Serializablename - the map namekeyClass - concrete map key typevalueClass - concrete map value type