Class IndexRowCacheRegistry
- java.lang.Object
-
- org.apache.ignite.internal.cache.query.index.sorted.IndexRowCacheRegistry
-
public class IndexRowCacheRegistry extends Object
Index row cache registry.
-
-
Constructor Summary
Constructors Constructor Description IndexRowCacheRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable IndexRowCacheforGroup(int grpId)Get row cache for the given cache group.voidonCacheRegistered(GridCacheContextInfo cacheInfo)Callback invoked on cache registration within indexing.voidonCacheUnregistered(GridCacheContextInfo cacheInfo)Callback invoked when cache gets unregistered.
-
-
-
Method Detail
-
forGroup
@Nullable public @Nullable IndexRowCache forGroup(int grpId)
Get row cache for the given cache group.- Parameters:
grpId- Cache group ID.- Returns:
- Row cache or
nullif none available.
-
onCacheRegistered
public void onCacheRegistered(GridCacheContextInfo cacheInfo)
Callback invoked on cache registration within indexing.- Parameters:
cacheInfo- Cache info context.
-
onCacheUnregistered
public void onCacheUnregistered(GridCacheContextInfo cacheInfo)
Callback invoked when cache gets unregistered.- Parameters:
cacheInfo- Cache context info.
-
-