
public interface OWriteAheadLog
OLogSequenceNumber logFuzzyCheckPointStart(OLogSequenceNumber flushedLsn) throws IOException
IOExceptionOLogSequenceNumber logFuzzyCheckPointEnd() throws IOException
IOExceptionOLogSequenceNumber logFullCheckpointStart() throws IOException
IOExceptionOLogSequenceNumber logFullCheckpointEnd() throws IOException
IOExceptionOLogSequenceNumber getLastCheckpoint()
OLogSequenceNumber begin() throws IOException
IOExceptionOLogSequenceNumber end()
void flush()
OLogSequenceNumber logAtomicOperationStartRecord(boolean isRollbackSupported, OOperationUnitId unitId) throws IOException
IOExceptionOLogSequenceNumber logAtomicOperationEndRecord(OOperationUnitId operationUnitId, boolean rollback, OLogSequenceNumber startLsn, Map<String,OAtomicOperationMetadata<?>> atomicOperationMetadata) throws IOException
IOExceptionOLogSequenceNumber log(OWALRecord record) throws IOException
IOExceptionOLogSequenceNumber getOldestTxLsn()
void truncate()
throws IOException
IOExceptionvoid close()
throws IOException
IOExceptionvoid close(boolean flush)
throws IOException
IOExceptionvoid delete()
throws IOException
IOExceptionvoid delete(boolean flush)
throws IOException
IOExceptionOWALRecord read(OLogSequenceNumber lsn) throws IOException
IOExceptionOLogSequenceNumber next(OLogSequenceNumber lsn) throws IOException
IOExceptionOLogSequenceNumber getFlushedLsn()
boolean cutTill(OLogSequenceNumber lsn) throws IOException
addCutTillLimit(OLogSequenceNumber) then "protected" part of WAL will be preserved for
sure.lsn - Maximum value of LSN till WAL will be cut.true if some portion of WAL will be cut and false if WAL left untouched.IOExceptionvoid addFullCheckpointListener(OFullCheckpointRequestListener listener)
void removeFullCheckpointListener(OFullCheckpointRequestListener listener)
void moveLsnAfter(OLogSequenceNumber lsn) throws IOException
DO NOT REMOVE IT, USED IN ENTERPRISE STORAGE.
IOExceptionvoid addCutTillLimit(OLogSequenceNumber lsn)
lsn - LSN after which cut of the WAL is not allowed.removeCutTillLimit(OLogSequenceNumber),
cutTill(OLogSequenceNumber)void removeCutTillLimit(OLogSequenceNumber lsn)
lsn - LSN after which cut of the WAL is not allowed.removeCutTillLimit(OLogSequenceNumber),
cutTill(OLogSequenceNumber)File[] nonActiveSegments(long fromSegment)
long activeSegment()
long getPreferredSegmentCount()
void addLowDiskSpaceListener(OLowDiskSpaceListener listener)
void removeLowDiskSpaceListener(OLowDiskSpaceListener listener)
boolean appendNewSegment()
true if new segment is added, and false otherwise.Copyright © 2009–2025 OrientDB. All rights reserved.