Class MMFPile
Provides default implementation of IPile which stores objects in Memory Mapped Files
Inheritance
System.Object
Service<System.Object>
ServiceWithInstrumentationBase<System.Object>
MMFPile
Implements
System.Collections.Generic.IEnumerable<PileEntry>
System.Collections.IEnumerable
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: NFX.ApplicationModel.Pile
Assembly: NFX.dll
Syntax
[SlimSerializationProhibited]
public sealed class MMFPile : DefaultPileBase, ILocalizedTimeProvider, IPileImplementation, IPile, IPileStatus, IEnumerable<PileEntry>, IEnumerable, IApplicationComponent, IDisposable, IService, INamed, IConfigurable, IInstrumentable, IExternallyParameterized
Constructors
MMFPile(Object, String)
Declaration
public MMFPile(object director, string name = null)
Parameters
Type | Name | Description |
---|---|---|
System.Object | director | |
System.String | name |
MMFPile(String)
Declaration
public MMFPile(string name = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | name |
Properties
CompletelyLoaded
Returns true when pile has completely loaded - mounted and Crawled(), from the MMF images on disk
Declaration
public bool CompletelyLoaded { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
DataDirectory
Returns the full path root + name where the memory mapped files are kept
Declaration
public string DataDirectory { get; }
Property Value
Type | Description |
---|---|
System.String |
DataDirectoryRoot
Specifies the full path to directory root under which the MMFPile creates a named instance directory where the memory-mapped files are kept. The instance directory name is taken from Pile.Name
Declaration
[Config]
public string DataDirectoryRoot { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Persistence
Returns PilePersistence.Memory
Declaration
public override ObjectPersistence Persistence { get; }
Property Value
Type | Description |
---|---|
ObjectPersistence |
Overrides
Methods
DoAcceptManagerVisit(Object, DateTime)
Declaration
protected override void DoAcceptManagerVisit(object manager, DateTime managerNow)
Parameters
Type | Name | Description |
---|---|---|
System.Object | manager | |
System.DateTime | managerNow |
Overrides
DoStart()
Declaration
protected override void DoStart()
Overrides
DoWaitForCompleteStop()
Declaration
protected override void DoWaitForCompleteStop()
Overrides
Implements
System.Collections.Generic.IEnumerable<T>
System.Collections.IEnumerable
System.IDisposable