| Table of Contents
|
public class SingleFileQueueStream
| Visibility | Description |
|---|---|
| Public | SingleFileQueueStream(string path) Create from file path. File will be opened for exclusive write and closed and disposed when the instance is disposed |
| Public | SingleFileQueueStream(Stream stream) Create from an existing stream and the stream will be disposed when the instance is disposed. |
| Visibility | Description |
|---|---|
| Public | UnreadCount Count of all records not yet read in current session |
| Visibility | Description |
|---|---|
| Public | Dispose() Dispose the instance per System.IDisposable pattern |
| Public | AppendRecord(Stream stream, long length) Append the given stream as a new record. It is assumed that the stream's position is set to the appropriate position. |
| Public | DeleteRecord(IQueueStreamHandle location) Permanently remove a record from the stream, identified by the MindTouch.IO.IQueueStreamHandle attached to the MindTouch.IO.QueueStreamRecord returned by SingleFileQueueStream.ReadNextRecord(). |
| Public | ReadNextRecord() Read the next unread record from the stream. Will return QueueStreamRecord.Empty if there is no next record in the stream. |
| Public | Truncate() Truncate the QueueStream and drop all records. |
| Public | ToString() (Inherited from Object) |
| Public | Equals(object obj) (Inherited from Object) |
| Public | GetHashCode() (Inherited from Object) |
| Public | GetType() (Inherited from Object) |
| Protected | MemberwiseClone() (Inherited from Object) |
| Images 0 | ||
|---|---|---|
| No images to display in the gallery. |
Copyright © 2011 MindTouch, Inc. Powered by