public class GridCacheOffheapManager extends IgniteCacheOffheapManagerImpl implements DbCheckpointListener
IgniteCacheOffheapManagerImpl.CacheDataStoreImplDbCheckpointListener.ContextIgniteCacheOffheapManager.CacheDataStore, IgniteCacheOffheapManager.OffheapInvokeClosurectx, grp, log, partDataStores, pendingEntries| Constructor and Description |
|---|
GridCacheOffheapManager() |
| Modifier and Type | Method and Description |
|---|---|
protected IgniteCacheOffheapManager.CacheDataStore |
createCacheDataStore0(int p) |
protected void |
destroyCacheDataStore0(IgniteCacheOffheapManager.CacheDataStore store) |
void |
dropRootPageForIndex(int cacheId,
String idxName) |
protected void |
initDataStructures() |
long |
lastUpdatedPartitionCounter(int part)
Partition counter provider.
|
void |
onCacheStarted(GridCacheContext cctx) |
void |
onCheckpointBegin(DbCheckpointListener.Context ctx) |
void |
onPartitionCounterUpdated(int part,
long cntr)
Partition counter update callback.
|
void |
onPartitionInitialCounterUpdated(int part,
long cntr)
Initial counter will be updated on state restore only
|
IgniteRebalanceIterator |
rebalanceIterator(int part,
AffinityTopologyVersion topVer,
Long partCntrSince) |
ReuseList |
reuseListForIndex(String idxName) |
RootPage |
rootPageForIndex(int cacheId,
String idxName) |
void |
stop() |
cacheDataStores, cacheEntriesCount, cacheEntriesCount, cacheEntriesCount, cacheEntriesIterator, cacheIterator, cacheKeysIterator, cachePartitionIterator, clearCache, containsKey, createCacheDataStore, dataStore, destroyCacheDataStore, expire, expiredSize, globalRemoveId, invoke, offHeapAllocatedSize, onKernalStop, onUndeploy, partitionIterator, read, read, remove, start, stopCache, totalPartitionEntriesCount, treeName, updateprotected void initDataStructures()
throws IgniteCheckedException
initDataStructures in class IgniteCacheOffheapManagerImplIgniteCheckedException - If failed.public void onCacheStarted(GridCacheContext cctx) throws IgniteCheckedException
onCacheStarted in interface IgniteCacheOffheapManageronCacheStarted in class IgniteCacheOffheapManagerImplcctx - Cache context.IgniteCheckedException - If failed.protected IgniteCacheOffheapManager.CacheDataStore createCacheDataStore0(int p) throws IgniteCheckedException
createCacheDataStore0 in class IgniteCacheOffheapManagerImplp - Partition.IgniteCheckedException - If failed.public void onCheckpointBegin(DbCheckpointListener.Context ctx) throws IgniteCheckedException
onCheckpointBegin in interface DbCheckpointListenerIgniteCheckedException - If failed.protected void destroyCacheDataStore0(IgniteCacheOffheapManager.CacheDataStore store) throws IgniteCheckedException
destroyCacheDataStore0 in class IgniteCacheOffheapManagerImplstore - Cache data store.IgniteCheckedException - If failed.public void onPartitionCounterUpdated(int part,
long cntr)
onPartitionCounterUpdated in interface IgniteCacheOffheapManageronPartitionCounterUpdated in class IgniteCacheOffheapManagerImplpart - Partition.cntr - Partition counter.public void onPartitionInitialCounterUpdated(int part,
long cntr)
onPartitionInitialCounterUpdated in interface IgniteCacheOffheapManageronPartitionInitialCounterUpdated in class IgniteCacheOffheapManagerImplpart - Partitioncntr - New initial counterpublic long lastUpdatedPartitionCounter(int part)
lastUpdatedPartitionCounter in interface IgniteCacheOffheapManagerlastUpdatedPartitionCounter in class IgniteCacheOffheapManagerImplpart - Partition ID.public RootPage rootPageForIndex(int cacheId, String idxName) throws IgniteCheckedException
rootPageForIndex in interface IgniteCacheOffheapManagerrootPageForIndex in class IgniteCacheOffheapManagerImplcacheId - Cache ID.idxName - Index name.IgniteCheckedException - If failed.public void dropRootPageForIndex(int cacheId,
String idxName)
throws IgniteCheckedException
dropRootPageForIndex in interface IgniteCacheOffheapManagerdropRootPageForIndex in class IgniteCacheOffheapManagerImplcacheId - Cache ID.idxName - Index name.IgniteCheckedException - If failed.public ReuseList reuseListForIndex(String idxName)
reuseListForIndex in interface IgniteCacheOffheapManagerreuseListForIndex in class IgniteCacheOffheapManagerImplidxName - Index name.public void stop()
stop in interface IgniteCacheOffheapManagerstop in class IgniteCacheOffheapManagerImplpublic IgniteRebalanceIterator rebalanceIterator(int part, AffinityTopologyVersion topVer, Long partCntrSince) throws IgniteCheckedException
rebalanceIterator in interface IgniteCacheOffheapManagerrebalanceIterator in class IgniteCacheOffheapManagerImplpart - Partition.topVer - Topology version.partCntrSince - Partition counter to get historical data if available.IgniteCheckedException - If failed.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.4.0 Release Date : March 5 2018