IRecordSequence Members

Provides a generic interface to a sequence of records.

The IRecordSequence type exposes the following members.

  NameDescription
Public method AdvanceBaseSequenceNumber Moves the base sequence number of the log forward.
Public method Append Overloaded. When overridden in a derived class, writes a log record to the IRecordSequence.
Public method BeginAppend Overloaded. When overridden in a derived class, begins an asynchronous append operation.
Public method BeginFlush When overridden in a derived class, begins an asynchronous flush operation, using space previously reserved in the sequence.
Public method BeginReserveAndAppend Overloaded. When overridden in a derived class, begins an asynchronous reserve and append operation.
Public method BeginWriteRestartArea Overloaded. When overridden in a derived class, begins an asynchronous restart area write operation.
Public method CreateReservationCollection When overridden in a derived class, creates a new ReservationCollection.
Public method Dispose Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from IDisposable.)
Public method EndAppend When overridden in a derived class, ends an asynchronous append operation.
Public method EndFlush When overridden in a derived class, ends an asynchronous flush operation.
Public method EndReserveAndAppend When overridden in a derived class, ends an asynchronous reserve and append operation.
Public method EndWriteRestartArea When overridden in a derived class, ends an asynchronous restart area write operation.
Public method Flush Overloaded. When overridden in a derived class, causes appended records to be written.
Public method ReadLogRecords When overridden in a derived class, returns an enumerable collection of records in the sequence.
Public method ReadRestartAreas When overridden in a derived class, returns an enumerable collection of the restart areas in the sequence.
Public method ReserveAndAppend Overloaded. When overridden in a derived class, automatically makes a single reservation and appends a record to the sequence.
Public method WriteRestartArea Overloaded. When overridden in a derived class, writes a restart area to the IRecordSequence.
Top

  NameDescription
Public property BaseSequenceNumber When overridden in a derived class, gets the sequence number of the first valid record in the current IRecordSequence.
Public property LastSequenceNumber When overridden in a derived class, gets the sequence number which is greater than the last record appended.
Public property MaximumRecordLength When overridden in a derived class, gets the size of the largest record that can be appended to or read from this sequence, in bytes.
Public property ReservedBytes When overridden in a derived class, gets the total number of bytes that have been reserved.
Public property RestartSequenceNumber When overridden in a derived class, gets the sequence number of the most recently written restart area.
Public property RetryAppend Gets or sets a value indicating whether appends are automatically retried if the log is full.
Top

  NameDescription
Public event TailPinned Occurs when the record sequence determines that the tail must be moved forward.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft