public class CacheFreeList extends AbstractFreeList<CacheDataRow>
PagesList.PagesCache, PagesList.StripebucketsSize, changed, DFLT_PAGES_LIST_TRY_LOCK_ATTEMPTS, IGNITE_PAGES_LIST_STRIPES_PER_BUCKET, IGNITE_PAGES_LIST_TRY_LOCK_ATTEMPTS, log, pageCacheChangedgrpId, grpName, metrics, pageFlag, pageIoRslvr, pageMem, reuseList, rnd, wal| Constructor and Description |
|---|
CacheFreeList(int cacheGrpId,
String name,
DataRegion dataRegion,
@Nullable IgniteWriteAheadLogManager wal,
long metaPageId,
boolean initNew,
PageLockTrackerManager pageLockTrackerManager,
GridKernalContext ctx,
@Nullable AtomicLong pageListCacheLimit,
byte pageFlag) |
| Modifier and Type | Method and Description |
|---|---|
void |
insertDataRow(CacheDataRow row,
IoStatisticsHolder statHolder) |
addForRecycle, casBucket, dumpStatistics, emptyDataPages, freeSpace, getBucket, getBucketCache, getBucketIndex, getPageFreeSpace, initRecycledPage, insertDataRows, isReuseBucket, recycledPagesCount, removeDataRowByLink, takeRecycledPage, toString, updateDataRow, updateDataRowbucketsCount, bucketSize, cachedPagesCount, corruptedFreeListException, corruptedFreeListException, corruptedFreeListException, init, initRecycledPage0, initReusedPage, metaPageId, put, removeDataPage, saveMetadata, storedPagesCount, stripesCount, takeEmptyPageacquirePage, allocatePage, allocatePage, allocatePageNoReuse, close, groupId, init, name, needWalDeltaRecord, pageSize, randomInt, read, read, readLock, readUnlock, recyclePage, releasePage, tryWriteLock, write, write, write, write, writeLock, writeUnlock, writeUnlockpublic CacheFreeList(int cacheGrpId,
String name,
DataRegion dataRegion,
@Nullable
@Nullable IgniteWriteAheadLogManager wal,
long metaPageId,
boolean initNew,
PageLockTrackerManager pageLockTrackerManager,
GridKernalContext ctx,
@Nullable
@Nullable AtomicLong pageListCacheLimit,
byte pageFlag)
throws IgniteCheckedException
cacheGrpId - Cache group id.name - Name.dataRegion - Data region.wal - Wal.metaPageId - Meta page id.initNew - Initialize new.pageFlag - Default flag value for allocated pages.IgniteCheckedExceptionpublic void insertDataRow(CacheDataRow row, IoStatisticsHolder statHolder) throws IgniteCheckedException
insertDataRow in interface FreeList<CacheDataRow>insertDataRow in class AbstractFreeList<CacheDataRow>row - Row.statHolder - Statistics holder to track IO operations.IgniteCheckedException - If failed.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023