public class PartitionMetaStorageImpl<T extends Storable> extends AbstractFreeList<T> implements PartitionMetaStorage<T>
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 |
|---|
PartitionMetaStorageImpl(int cacheGrpId,
String name,
DataRegion memPlc,
@Nullable ReuseList reuseList,
@Nullable IgniteWriteAheadLogManager wal,
long metaPageId,
boolean initNew,
PageLockTrackerManager pageLockTrackerManager,
GridKernalContext ctx,
@Nullable AtomicLong pageListCacheLimit,
byte pageFlag) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
readRow(long link)
Read row as byte array from data pages.
|
addForRecycle, casBucket, dumpStatistics, emptyDataPages, freeSpace, getBucket, getBucketCache, getBucketIndex, getPageFreeSpace, initRecycledPage, insertDataRow, 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, writeUnlockclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitinsertDataRow, metaPageId, removeDataRowByLink, saveMetadatapublic PartitionMetaStorageImpl(int cacheGrpId,
String name,
DataRegion memPlc,
@Nullable
@Nullable ReuseList reuseList,
@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.memPlc - Mem policy.reuseList - Reuse list.metaPageId - Meta page id.initNew - Initialize new.ctx - Context.pageFlag - Default flag value for allocated pages.IgniteCheckedExceptionpublic final byte[] readRow(long link)
throws IgniteCheckedException
readRow in interface PartitionMetaStorage<T extends Storable>link - Link.IgniteCheckedException - If failed.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023