LogRecordSequence Members

Represents a record sequence stored in a LogStore.

The LogRecordSequence type exposes the following members.

  NameDescription
Public method LogRecordSequence Overloaded. Initializes a new instance of the LogRecordSequence 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 IRecordSequence.
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 Releases the resources used by the component.
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. Writes appended records durably
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 SetLastRecord Sets the last record in the LogRecordSequence.
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method WriteRestartArea Overloaded. Writes a restart area to the LogRecordSequence.
Top

  NameDescription
Public property BaseSequenceNumber Gets the sequence number of the first valid record in the current LogRecordSequence.
Public property LastSequenceNumber Gets the sequence number which is greater than the last record appended
Public property LogStore Gets the LogStore that contains the data for this record sequence. This method cannot be inherited.
Public property MaximumRecordLength Gets the maximum size of a record that can be added to this record sequence.
Public property ReservedBytes Gets the total number of bytes that have been reserved.
Public property RestartSequenceNumber Gets the sequence number of the restart area closest to the end of the log.
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 Signals the need to move the tail of the sequence.
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft