public interface IgniteCacheOffheapManager extends GridCacheManager
| Modifier and Type | Interface and Description |
|---|---|
static interface |
IgniteCacheOffheapManager.CacheDataStore |
static interface |
IgniteCacheOffheapManager.OffheapInvokeClosure |
onDisconnected, onKernalStart, onKernalStop, printMemoryStats, start, stopvoid onPartitionCounterUpdated(int part,
long cntr)
part - Partition.cntr - Partition counter.void onPartitionInitialCounterUpdated(int part,
long cntr)
part - Partitioncntr - New initial counterlong lastUpdatedPartitionCounter(int part)
part - Partition ID.@Nullable CacheDataRow read(GridCacheMapEntry entry) throws IgniteCheckedException
entry - Cache entry.IgniteCheckedException - If failed.IgniteCacheOffheapManager.CacheDataStore createCacheDataStore(int p) throws IgniteCheckedException
p - Partition.IgniteCheckedException - If failed.Iterable<IgniteCacheOffheapManager.CacheDataStore> cacheDataStores()
IgniteCacheOffheapManager.CacheDataStore dataStore(GridDhtLocalPartition part)
part - Partition.void destroyCacheDataStore(int p,
IgniteCacheOffheapManager.CacheDataStore store)
throws IgniteCheckedException
p - Partition ID.store - Data store.IgniteCheckedExceptionboolean containsKey(GridCacheMapEntry entry)
boolean expire(IgniteInClosure2X<GridCacheEntryEx,GridCacheVersion> c, int amount) throws IgniteCheckedException
c - Closure.IgniteCheckedException - If failed.long expiredSize()
throws IgniteCheckedException
IgniteCheckedException - If failed to get number of pending entries.void invoke(KeyCacheObject key, GridDhtLocalPartition part, IgniteCacheOffheapManager.OffheapInvokeClosure c) throws IgniteCheckedException
key - Key.part - Partition.c - Tree update closure.IgniteCheckedException - If failed.void update(KeyCacheObject key, CacheObject val, GridCacheVersion ver, long expireTime, int partId, GridDhtLocalPartition part, @Nullable CacheDataRow oldRow) throws IgniteCheckedException
key - Key.val - Value.ver - Version.expireTime - Expire time.partId - Partition number.oldRow - Old row if available.part - Partition.IgniteCheckedException - If failed.void remove(KeyCacheObject key, int partId, GridDhtLocalPartition part) throws IgniteCheckedException
key - Key.partId - Partition number.part - Partition.IgniteCheckedException - If failed.int onUndeploy(ClassLoader ldr)
ldr - Class loader.GridIterator<CacheDataRow> iterator(boolean primary, boolean backup, AffinityTopologyVersion topVer) throws IgniteCheckedException
primary - Primary entries flag.backup - Backup entries flag.topVer - Topology version.IgniteCheckedException - If failed.GridIterator<CacheDataRow> iterator(int part) throws IgniteCheckedException
part - Partition.IgniteCheckedException - If failed.IgniteRebalanceIterator rebalanceIterator(int part, AffinityTopologyVersion topVer, Long partCntr) throws IgniteCheckedException
part - Partition.partCntr - Partition counter to get historical data if available.IgniteCheckedException - If failed.<K,V> GridCloseableIterator<javax.cache.Cache.Entry<K,V>> entriesIterator(boolean primary, boolean backup, AffinityTopologyVersion topVer, boolean keepBinary) throws IgniteCheckedException
primary - Primary entries flag.backup - Backup entries flag.topVer - Topology version.keepBinary - Keep binary flag.IgniteCheckedException - If failed.GridCloseableIterator<KeyCacheObject> keysIterator(int part) throws IgniteCheckedException
part - Partition.IgniteCheckedException - If failed.long entriesCount(boolean primary,
boolean backup,
AffinityTopologyVersion topVer)
throws IgniteCheckedException
primary - Primary entries flag.backup - Backup entries flag.topVer - Topology version.IgniteCheckedException - If failed.void clear(boolean readers)
readers - True to clear readers.long entriesCount(int part)
part - Partition.long offHeapAllocatedSize()
GridAtomicLong globalRemoveId()
RootPage rootPageForIndex(String idxName) throws IgniteCheckedException
idxName - Index name.IgniteCheckedException - If failed.void dropRootPageForIndex(String idxName) throws IgniteCheckedException
idxName - Index name.IgniteCheckedException - If failed.ReuseList reuseListForIndex(String idxName) throws IgniteCheckedException
IgniteCheckedExceptionlong entriesCount()
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017