Package org.apache.flink.runtime.util
Interface GroupCache<G,K,V>
-
- Type Parameters:
G- The group.K- The key.V- The value.
- All Known Implementing Classes:
DefaultGroupCache
public interface GroupCache<G,K,V>ThisGroupCachecan cache group, key and value. The group and key are cache key, each key belongs to a certain group. All corresponding keys and values will be cleared if a group is cleared.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclear()clear all cache.voidclearCacheForGroup(G group)Clear all caches of the corresponding group.Vget(G group, K key)Get value in cache.voidput(G group, K key, V value)Put group, key and value to cache.
-