| Modifier and Type | Method and Description |
|---|---|
WALPointer |
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.
|
WALPointer |
IgniteWriteAheadLogManager.lastWritePointer()
Get last written pointer.
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
Optional<WALPointer> |
WALIterator.lastRead() |
| Modifier and Type | Method and Description |
|---|---|
WALPointer |
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(@Nullable 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 | Method and Description |
|---|---|
WALPointer |
GridCacheDatabaseSharedManager.lastCheckpointMarkWalPointer() |
@Nullable WALPointer |
IgniteCacheDatabaseSharedManager.lastCheckpointMarkWalPointer() |
WALPointer |
GridCacheDatabaseSharedManager.latestWalPointerReservedForPreloading()
Returns the latest WAL pointer that reserved for preloading or
null. |
WALPointer |
IgniteCacheDatabaseSharedManager.latestWalPointerReservedForPreloading()
Returns the latest WAL pointer that reserved for preloading or
null. |
| Modifier and Type | Method and Description |
|---|---|
void |
GridCacheDatabaseSharedManager.onWalTruncated(@Nullable 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 | Field and Description |
|---|---|
WALPointer |
CheckpointStatus.endPtr
Checkpoint end pointer.
|
static WALPointer |
CheckpointStatus.NULL_PTR
Null WAL pointer.
|
WALPointer |
CheckpointStatus.startPtr
Checkpoint start pointer.
|
| Modifier and Type | Method and Description |
|---|---|
WALPointer |
CheckpointEntry.checkpointMark() |
WALPointer |
CheckpointHistory.firstCheckpointPointer() |
@Nullable WALPointer |
CheckpointHistory.searchEarliestWalPointer(int grpId,
Map<Integer,Long> partsCounter,
long margin)
Search the earliest WAL pointer for particular group, matching by counter for partitions.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CheckpointManager.finalizeCheckpointOnRecovery(long ts,
UUID id,
WALPointer ptr,
StripedExecutor exec) |
void |
LightweightCheckpointManager.finalizeCheckpointOnRecovery(long ts,
UUID id,
WALPointer ptr,
StripedExecutor exec) |
void |
Checkpointer.finalizeCheckpointOnRecovery(long cpTs,
UUID cpId,
WALPointer walPtr,
StripedExecutor exec) |
void |
CheckpointWorkflow.finalizeCheckpointOnRecovery(long cpTs,
UUID cpId,
WALPointer walPtr,
StripedExecutor exec,
CheckpointPagesWriterFactory checkpointPagesWriterFactory)
This method makes sense if node was stopped during the checkpoint(Start marker was written to disk while end
marker are not).
|
void |
CheckpointManager.memoryRecoveryRecordPtr(WALPointer memoryRecoveryRecordPtr) |
void |
LightweightCheckpointManager.memoryRecoveryRecordPtr(WALPointer memoryRecoveryRecordPtr) |
void |
CheckpointWorkflow.memoryRecoveryRecordPtr(WALPointer memoryRecoveryRecordPtr) |
List<CheckpointEntry> |
CheckpointHistory.onWalTruncated(WALPointer highBound)
Clears checkpoint history after WAL truncation.
|
void |
CheckpointManager.removeCheckpointsUntil(@Nullable WALPointer highBound)
Wal truncate callback.
|
void |
CheckpointMarkersStorage.removeCheckpointsUntil(@Nullable WALPointer highBound)
Wal truncate callback.
|
CheckpointEntry |
CheckpointMarkersStorage.writeCheckpointEntry(long cpTs,
UUID cpId,
WALPointer ptr,
@Nullable CheckpointRecord rec,
CheckpointEntryType type,
boolean skipSync)
Writes checkpoint entry buffer
entryBuf to specified checkpoint file with 2-phase protocol. |
| 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.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.
|
WALPointer |
FileWriteAheadLogManager.lastWritePointer()
Get last written pointer.
|
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.
|
WALPointer |
WALPointer.next()
Pointer to the next record.
|
| 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 |
|---|---|
int |
WALPointer.compareTo(@NotNull WALPointer o) |
WALPointer |
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.
|
Collection<File> |
FileWriteAheadLogManager.getWalFilesFromArchive(WALPointer low,
WALPointer high)
Collects WAL segments from the archive only if they are all present.
|
protected IgniteCheckedException |
AbstractWalRecordsIterator.handleRecordException(@NotNull Exception e,
@Nullable WALPointer ptr)
Handler for record deserialization exception.
|
protected AbstractWalRecordsIterator.AbstractReadFileHandle |
AbstractWalRecordsIterator.initReadHandle(@NotNull AbstractWalRecordsIterator.AbstractFileDescriptor desc,
@Nullable WALPointer start)
Assumes file descriptor will be opened in this method.
|
protected AbstractWalRecordsIterator.AbstractReadFileHandle |
AbstractWalRecordsIterator.initReadHandle(@NotNull AbstractWalRecordsIterator.AbstractFileDescriptor desc,
@Nullable WALPointer start,
@NotNull SegmentIO fileIO,
@NotNull SegmentHeader segmentHeader)
Assumes fileIO will be closed in this method in case of error occurred.
|
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 filePtr)
Resumes logging after start.
|
int |
FileWriteAheadLogManager.truncate(@Nullable 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) |
WALPointer |
FsyncFileHandleManagerImpl.flush(WALPointer ptr,
boolean explicitFsync) |
WALPointer |
FileHandleManagerImpl.flush(WALPointer ptr,
boolean explicitFsync) |
WALPointer |
FileHandleManager.flush(WALPointer ptr,
boolean explicitFsync) |
WALPointer |
FileWriteHandle.position() |
| Modifier and Type | Method and Description |
|---|---|
WALPointer |
FsyncFileHandleManagerImpl.flush(WALPointer ptr,
boolean explicitFsync) |
WALPointer |
FileHandleManagerImpl.flush(WALPointer ptr,
boolean explicitFsync) |
WALPointer |
FileHandleManager.flush(WALPointer ptr,
boolean explicitFsync) |
void |
FileWriteHandle.fsync(WALPointer ptr)
Do fsync.
|
boolean |
FileWriteHandle.needFsync(WALPointer ptr) |
| Modifier and Type | Field and Description |
|---|---|
static WALPointer |
IgniteWalIteratorFactory.IteratorParametersBuilder.DFLT_HIGH_BOUND |
static WALPointer |
IgniteWalIteratorFactory.IteratorParametersBuilder.DFLT_LOW_BOUND |
| 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.from(WALPointer lowBound) |
WALIterator |
IgniteWalIteratorFactory.iterator(@NotNull WALPointer replayFrom,
File... filesOrDirs)
Creates iterator for file by file scan mode.
|
WALIterator |
IgniteWalIteratorFactory.iterator(@NotNull WALPointer replayFrom,
String... filesOrDirs)
Creates iterator for file by file scan mode.
|
IgniteWalIteratorFactory.IteratorParametersBuilder |
IgniteWalIteratorFactory.IteratorParametersBuilder.to(WALPointer highBound) |
| 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 |
|---|---|
static WALPointer |
RecordV1Serializer.readPosition(DataInput in) |
| Modifier and Type | Method and Description |
|---|---|
IgniteBiPredicate<WALRecord.RecordType,WALPointer> |
RecordSerializerFactoryImpl.recordDeserializeFilter() |
| Modifier and Type | Method and Description |
|---|---|
static void |
RecordV1Serializer.putPosition(ByteBuffer buf,
WALPointer ptr)
Saves position, WAL pointer (requires
RecordV1Serializer.FILE_WAL_POINTER_SIZE bytes) |
WALRecord |
RecordV2Serializer.readRecord(FileInput in,
WALPointer expPtr)
Loads record from input
|
WALRecord |
RecordSerializer.readRecord(FileInput in,
WALPointer expPtr)
Loads record from input
|
WALRecord |
RecordV1Serializer.readRecord(FileInput in0,
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.11.0 Release Date : September 11 2021