System.IO.Log 命名空间

System.IO.Log 命名空间定义用于登录到面向记录的顺序 I/O 系统的接口。 The System.IO.Log namespace defines an interface for logging to a record-oriented sequential I/O system.

FileRecordSequence

在文件上实现 IRecordSequenceImplements an IRecordSequence on top of a file. 此类不能被继承。This class cannot be inherited.

FileRegion

表示要存档的文件区域。Represents a region of a file to be archived. 此类不能被继承。This class cannot be inherited.

LogArchiveSnapshot

表示 LogStore 实例的快照,该快照可以用于生成存档。Represents a snapshot of the LogStore instance that can be used to generate an archive.

LogExtent

表示包含日志数据的磁盘范围。Represents a disk extent that contains log data.

LogExtentCollection

表示与 LogExtent 关联的 LogStore 对象的集合。Represents the collection of LogExtent objects associated with a LogStore.

LogPolicy

表示与 LogStore 相关联的策略。Represents the policy associated with a LogStore.

LogRecord

表示已追加到序列的日志记录。Represents a log record that has been appended to a sequence.

LogRecordSequence

表示存储在 LogStore 中的记录序列。Represents a record sequence stored in a LogStore.

LogStore

表示日志结构化的存储区。Represents a log-structured storage.

ReservationCollection

管理在记录序列中生成的空间预留的集合。Manages the collection of space reservations made in a record sequence.

ReservationNotFoundException

表示没有找到 LogRecordSequence 中的特定空间预留时引发的异常。Represents the exception that is thrown when a specific space reservation in a LogRecordSequence is not found.

SequenceFullException

表示日志记录序列已满时引发的异常。Represents the exception that is thrown when a sequence of log records is full.

TailPinnedEventArgs

TailPinned 事件提供数据。Provides data for the TailPinned event. 此类不能被继承。This class cannot be inherited.

结构

PolicyUnit

表示日志存储策略的大小度量。Represents a size measurement in a log store policy.

SequenceNumber

表示记录序列中分配给日志记录的序列号。Represents a sequence number assigned to a log record in a record sequence.

接口

IRecordSequence

提供一系列记录的泛型接口。Provides a generic interface to a sequence of records.

枚举

LogExtentState

描述 LogExtent 实例的当前状态。Describes the current state of a LogExtent instance.

LogRecordEnumeratorType

指定从 LogRecordSequence 中读取记录的方式。Specifies the manner in which records should be read from a LogRecordSequence.

PolicyUnitType

指定 PolicyUnit 实例的度量单位。Specifies the unit of measurement of a PolicyUnit instance.

RecordAppendOptions

指定如何追加记录。Specifies how records are appended.