C# Class Codestellation.Ether.Misc.PersistentQueue

Inheritance: IQueue, IDisposable
Show file Open project: Codestellation/Ether Class Usage Examples

Public Properties

Property Type Description
ImmediatelyFlush bool

Public Methods

Method Description
Dispose ( ) : void
Enqueue ( object item ) : void
PersistentQueue ( string name, string folderPath = null ) : System
TryDequeue ( object &item ) : bool

Private Methods

Method Description
AppendDequeueOp ( ) : void
AppendEnqueueOp ( object mail ) : void
DeleteJournal ( ) : void
RecoveryFromJournal ( ) : void
ResetJournal ( ) : void
ResolveFilePath ( string folderPath, string fileName ) : string
RestoreFromSnapshot ( ) : void
TakeSnapshot ( ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

Enqueue() public method

public Enqueue ( object item ) : void
item object
return void

PersistentQueue() public method

public PersistentQueue ( string name, string folderPath = null ) : System
name string
folderPath string
return System

TryDequeue() public method

public TryDequeue ( object &item ) : bool
item object
return bool

Property Details

ImmediatelyFlush public property

public bool ImmediatelyFlush
return bool