FileRecordSequence Members

Implements an IRecordSequence on top of a file. This class cannot be inherited.

The FileRecordSequence type exposes the following members.

  NameDescription
Public method FileRecordSequence Overloaded. Initializes a new instance of the FileRecordSequence class.
Top

  NameDescription
Public method AdvanceBaseSequenceNumber Moves the base sequence number of the log forward. This method cannot be inherited.
Public method Append Overloaded. Writes a log record to the FileRecordSequence.
Public method BeginAppend Overloaded. Begins an asynchronous append operation.
Public method BeginFlush Begins an asynchronous flush operation, using space previously reserved in the sequence. This method cannot be inherited.
Public method BeginReserveAndAppend Overloaded. Begins an asynchronous reserve and append operation.
Public method BeginWriteRestartArea Overloaded. Begins an asynchronous restart area write operation.
Public method CreateReservationCollection Creates a new ReservationCollection. This method cannot be inherited.
Public method Dispose Immediately releases the unmanaged resources used by an object.
Public method EndAppend Ends an asynchronous append operation. This method cannot be inherited.
Public method EndFlush Ends an asynchronous flush operation. This method cannot be inherited.
Public method EndReserveAndAppend Ends an asynchronous reserve and append operation. This method cannot be inherited.
Public method EndWriteRestartArea Ends an asynchronous restart area write operation. This method cannot be inherited.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Flush Overloaded. Causes appended records to be durably written.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ReadLogRecords Returns an enumerable collection of records in the sequence. This method cannot be inherited.
Public method ReadRestartAreas Returns an enumerable collection of the restart areas in the sequence. This method cannot be inherited.
Public method ReserveAndAppend Overloaded. Automatically makes a single reservation and appends a record to the sequence.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method WriteRestartArea Overloaded. Writes a restart area to the FileRecordSequence.
Top

  NameDescription
Public property BaseSequenceNumber Gets the sequence number of the first valid record in the current FileRecordSequence.
Public property LastSequenceNumber Gets the sequence number which is greater than the last record appended.
Public property MaximumRecordLength Gets the size of the largest record that can be appended to or read from this sequence, in bytes.
Public property ReservedBytes Gets the total number of bytes that have been reserved.
Public property RestartSequenceNumber Gets the sequence number of the most recently written restart area.
Public property RetryAppend Gets or sets a value indicating whether or not 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. This method cannot be inherited.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft