| Modifier and Type | Method and Description |
|---|---|
WALPointer |
IgniteWriteAheadLogManager.log(WALRecord entry)
Appends the given log entry to the write-ahead log.
|
WALPointer |
IgniteWriteAheadLogManager.log(WALRecord entry,
RolloverType rolloverType)
Appends the given log entry to the write-ahead log.
|
WALPointer |
WALPointer.next()
Pointer to the next record.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<WALPointer> |
WALIterator.lastRead() |
| Modifier and Type | Method and Description |
|---|---|
void |
IgniteWriteAheadLogManager.flush(WALPointer ptr,
boolean explicitFsync)
Makes sure that all log entries written to the log up until the specified pointer are actually written
to the underlying storage.
|
void |
IgniteWriteAheadLogManager.notchLastCheckpointPtr(WALPointer ptr)
Notifies
this about latest checkpoint pointer. |
WALRecord |
IgniteWriteAheadLogManager.read(WALPointer ptr)
Reads WAL record by the specified pointer.
|
void |
IgniteWriteAheadLogManager.release(WALPointer start)
Invoke this method to release WAL history since provided pointer that was previously reserved.
|
WALIterator |
IgniteWriteAheadLogManager.replay(WALPointer start)
Invoke this method to iterate over the written log entries.
|
WALIterator |
IgniteWriteAheadLogManager.replay(WALPointer start,
@Nullable IgniteBiPredicate<WALRecord.RecordType,WALPointer> recordDeserializeFilter)
Invoke this method to iterate over the written log entries.
|
boolean |
IgniteWriteAheadLogManager.reserve(WALPointer start)
Invoke this method to reserve WAL history since provided pointer and prevent it's deletion.
|
boolean |
IgniteWriteAheadLogManager.reserved(WALPointer ptr)
Checks if WAL segment is under lock or reserved
|
int |
IgniteWriteAheadLogManager.reserved(WALPointer low,
WALPointer high)
Checks if WAL segments is under lock or reserved.
|
void |
IgniteWriteAheadLogManager.resumeLogging(WALPointer lastWrittenPtr)
Resumes logging after start.
|
int |
IgniteWriteAheadLogManager.truncate(WALPointer low,
WALPointer high)
Gives a hint to WAL manager to clear entries logged before the given pointer.
|
| Modifier and Type | Method and Description |
|---|---|
WALPointer |
CheckpointRecord.checkpointMark() |
WALPointer |
WALRecord.position() |
| Modifier and Type | Method and Description |
|---|---|
void |
WALRecord.position(WALPointer pos) |
| Constructor and Description |
|---|
CheckpointRecord(UUID cpId,
@Nullable WALPointer cpMark) |
CheckpointRecord(UUID cpId,
@Nullable WALPointer cpMark,
boolean end)
Constructor kept for serializer
|
CheckpointRecord(@Nullable WALPointer cpMark) |
MarshalledRecord(WALRecord.RecordType type,
WALPointer pos,
ByteBuffer buf) |
| Modifier and Type | Method and Description |
|---|---|
WALPointer |
GridCacheUpdateTxResult.loggedPointer() |
protected WALPointer |
GridCacheMapEntry.logMvccUpdate(IgniteInternalTx tx,
CacheObject val,
long expireTime,
long updCntr,
MvccSnapshot mvccVer) |
protected WALPointer |
GridCacheMapEntry.logTxUpdate(IgniteInternalTx tx,
CacheObject val,
long expireTime,
long updCntr) |
| Modifier and Type | Method and Description |
|---|---|
protected WALPointer |
GridDhtDetachedCacheEntry.logTxUpdate(IgniteInternalTx tx,
CacheObject val,
long expireTime,
long updCntr) |
| Modifier and Type | Method and Description |
|---|---|
protected WALPointer |
GridNearCacheEntry.logTxUpdate(IgniteInternalTx tx,
CacheObject val,
long expireTime,
long updCntr) |
| Modifier and Type | Field and Description |
|---|---|
static WALPointer |
GridCacheDatabaseSharedManager.CheckpointStatus.NULL_PTR
Null WAL pointer.
|
| Modifier and Type | Method and Description |
|---|---|
WALPointer |
GridCacheDatabaseSharedManager.lastCheckpointMarkWalPointer() |
WALPointer |
IgniteCacheDatabaseSharedManager.lastCheckpointMarkWalPointer() |
| Modifier and Type | Method and Description |
|---|---|
CheckpointEntry |
GridCacheDatabaseSharedManager.createCheckPointEntry(long cpTs,
WALPointer ptr,
UUID cpId,
@Nullable CheckpointRecord rec,
CheckpointEntryType type) |
void |
GridCacheDatabaseSharedManager.onWalTruncated(WALPointer highBound)
Wal truncate callBack.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridCacheDatabaseSharedManager.applyUpdatesOnRecovery(@Nullable WALIterator it,
IgniteBiPredicate<WALPointer,WALRecord> recPredicate,
IgnitePredicate<DataEntry> entryPredicate)
Apply update from some iterator and with specific filters.
|
| Modifier and Type | Method and Description |
|---|---|
WALPointer |
CheckpointEntry.checkpointMark() |
WALPointer |
CheckpointHistory.firstCheckpointPointer() |
@Nullable WALPointer |
CheckpointHistory.searchPartitionCounter(int grpId,
int part,
long partCntrSince)
Tries to search for a WAL pointer for the given partition counter start.
|
| Modifier and Type | Method and Description |
|---|---|
List<CheckpointEntry> |
CheckpointHistory.onWalTruncated(WALPointer ptr)
Clears checkpoint history after WAL truncation.
|
| Constructor and Description |
|---|
CheckpointEntry(long cpTs,
WALPointer cpMark,
UUID cpId,
@Nullable Map<Integer,CacheState> cacheGrpStates)
Checkpoint entry constructor.
|
| Modifier and Type | Class and Description |
|---|---|
class |
FileWALPointer
File WAL pointer.
|
| Modifier and Type | Field and Description |
|---|---|
protected IgniteBiTuple<WALPointer,WALRecord> |
AbstractWalRecordsIterator.curRec
Current record preloaded, to be returned on next()
Normally this should be not null because advance() method should already prepare some value |
| Modifier and Type | Method and Description |
|---|---|
WALPointer |
FileWriteAheadLogManager.log(WALRecord rec)
Appends the given log entry to the write-ahead log.
|
WALPointer |
FileWriteAheadLogManager.log(WALRecord rec,
RolloverType rolloverType)
Appends the given log entry to the write-ahead log.
|
| Modifier and Type | Method and Description |
|---|---|
protected IgniteBiTuple<WALPointer,WALRecord> |
AbstractWalRecordsIterator.advanceRecord(@Nullable AbstractWalRecordsIterator.AbstractReadFileHandle hnd)
Switches to new record.
|
Optional<WALPointer> |
AbstractWalRecordsIterator.lastRead() |
protected IgniteBiTuple<WALPointer,WALRecord> |
AbstractWalRecordsIterator.onNext() |
| Modifier and Type | Method and Description |
|---|---|
void |
FileWriteAheadLogManager.flush(WALPointer ptr,
boolean explicitFsync)
Makes sure that all log entries written to the log up until the specified pointer are actually written
to the underlying storage.
|
void |
FileWriteAheadLogManager.notchLastCheckpointPtr(WALPointer ptr)
Notifies
this about latest checkpoint pointer. |
WALRecord |
FileWriteAheadLogManager.read(WALPointer ptr)
Reads WAL record by the specified pointer.
|
void |
FileWriteAheadLogManager.release(WALPointer start)
Invoke this method to release WAL history since provided pointer that was previously reserved.
|
WALIterator |
FileWriteAheadLogManager.replay(WALPointer start)
Invoke this method to iterate over the written log entries.
|
WALIterator |
FileWriteAheadLogManager.replay(WALPointer start,
@Nullable IgniteBiPredicate<WALRecord.RecordType,WALPointer> recordDeserializeFilter)
Invoke this method to iterate over the written log entries.
|
boolean |
FileWriteAheadLogManager.reserve(WALPointer start)
Invoke this method to reserve WAL history since provided pointer and prevent it's deletion.
|
boolean |
FileWriteAheadLogManager.reserved(WALPointer ptr)
Checks if WAL segment is under lock or reserved
|
int |
FileWriteAheadLogManager.reserved(WALPointer low,
WALPointer high)
Checks if WAL segments is under lock or reserved.
|
void |
FileWriteAheadLogManager.resumeLogging(WALPointer lastPtr)
Resumes logging after start.
|
int |
FileWriteAheadLogManager.truncate(WALPointer low,
WALPointer high)
Gives a hint to WAL manager to clear entries logged before the given pointer.
|
| Modifier and Type | Method and Description |
|---|---|
@Nullable WALPointer |
FileWriteHandle.addRecord(WALRecord rec) |
| Modifier and Type | Method and Description |
|---|---|
void |
FileHandleManager.flush(WALPointer ptr,
boolean explicitFsync) |
void |
FsyncFileHandleManagerImpl.flush(WALPointer ptr,
boolean explicitFsync) |
void |
FileHandleManagerImpl.flush(WALPointer ptr,
boolean explicitFsync) |
| Modifier and Type | Method and Description |
|---|---|
FileHandleManager |
FileHandleManagerFactory.build(GridCacheSharedContext cctx,
DataStorageMetricsImpl metrics,
boolean mmap,
Supplier<WALPointer> lastWALPtr,
RecordSerializer serializer,
Supplier<FileWriteHandle> currHandleSupplier) |
| Constructor and Description |
|---|
FileHandleManagerImpl(GridCacheSharedContext cctx,
DataStorageMetricsImpl metrics,
boolean mmap,
Supplier<WALPointer> lastWALPtr,
RecordSerializer serializer,
Supplier<FileWriteHandle> currentHandleSupplier,
WALMode mode,
int walBufferSize,
long maxWalSegmentSize,
long fsyncDelay) |
FsyncFileHandleManagerImpl(GridCacheSharedContext cctx,
DataStorageMetricsImpl metrics,
Supplier<WALPointer> ptr,
RecordSerializer serializer,
Supplier<FileWriteHandle> handle,
WALMode mode,
long maxWalSegmentSize,
long fsyncDelay,
int tlbSize) |
| Modifier and Type | Method and Description |
|---|---|
static Predicate<IgniteBiTuple<WALPointer,WALRecord>> |
WalFilters.checkpoint()
Filtering all checkpoint records.
|
Optional<WALPointer> |
FilteredWalIterator.lastRead() |
IgniteBiTuple<WALPointer,WALRecord> |
FilteredWalIterator.nextX()
This method is the same as
Iterator.next(), but allows for failure
with exception. |
static Predicate<IgniteBiTuple<WALPointer,WALRecord>> |
WalFilters.pageOwner(Set<T2<Integer,Long>> pageOwnerIds)
Filtering all records whose pageId is contained in pageOwnerIds.
|
static Predicate<IgniteBiTuple<WALPointer,WALRecord>> |
WalFilters.partitionMetaStateUpdate(Set<T2<Integer,Integer>> partsMetaupdate)
Filtering all records whose partitionId is contained in partsMetaupdate.
|
| Modifier and Type | Method and Description |
|---|---|
IgniteWalIteratorFactory.IteratorParametersBuilder |
IgniteWalIteratorFactory.IteratorParametersBuilder.addFilter(IgniteBiPredicate<WALRecord.RecordType,WALPointer> filter) |
IgniteWalIteratorFactory.IteratorParametersBuilder |
IgniteWalIteratorFactory.IteratorParametersBuilder.filter(IgniteBiPredicate<WALRecord.RecordType,WALPointer> filter) |
| Constructor and Description |
|---|
FilteredWalIterator(WALIterator walIterator,
Predicate<IgniteBiTuple<WALPointer,WALRecord>> filter) |
| Modifier and Type | Method and Description |
|---|---|
protected byte[] |
PrintRawToFileHandler.getBytes(IgniteBiTuple<WALPointer,WALRecord> record) |
void |
ScannerHandler.handle(IgniteBiTuple<WALPointer,WALRecord> record)
Handling one more record during iteration over WAL.
|
| Modifier and Type | Method and Description |
|---|---|
IgniteBiPredicate<WALRecord.RecordType,WALPointer> |
RecordSerializerFactoryImpl.recordDeserializeFilter() |
| Modifier and Type | Method and Description |
|---|---|
WALRecord |
RecordSerializer.readRecord(FileInput in,
WALPointer expPtr)
Loads record from input
|
WALRecord |
RecordV1Serializer.readRecord(FileInput in0,
WALPointer expPtr)
Loads record from input
|
WALRecord |
RecordV2Serializer.readRecord(FileInput in,
WALPointer expPtr)
Loads record from input
|
| Modifier and Type | Method and Description |
|---|---|
RecordSerializerFactory |
RecordSerializerFactory.recordDeserializeFilter(IgniteBiPredicate<WALRecord.RecordType,WALPointer> readTypeFilter)
Specifies deserialization filter.
|
| Constructor and Description |
|---|
RecordV1Serializer(RecordDataV1Serializer dataSerializer,
boolean writePointer,
boolean marshalledMode,
boolean skipPositionCheck,
IgniteBiPredicate<WALRecord.RecordType,WALPointer> recordFilter)
Create an instance of V1 serializer.
|
RecordV2Serializer(RecordDataV2Serializer dataSerializer,
boolean writePointer,
boolean marshalledMode,
boolean skipPositionCheck,
IgniteBiPredicate<WALRecord.RecordType,WALPointer> recordFilter)
Create an instance of Record V2 serializer.
|
| Modifier and Type | Method and Description |
|---|---|
WALRecord |
RecordIO.readWithHeaders(ByteBufferBackedDataInput in,
WALPointer expPtr)
Reads record data with headers from
in. |
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.0 Release Date : February 27 2020