C# Class Platform.Memory.FileMappedResizableDirectMemory

Represents a memory block stored as a file on disk.
Inheritance: ResizableDirectMemoryBase
Mostrar archivo Open project: Konard/LinksPlatform

Protected Properties

Property Type Description
Address string

Public Methods

Method Description
FileMappedResizableDirectMemory ( string address ) : System
FileMappedResizableDirectMemory ( string address, long minimumReservedCapacity ) : System

Protected Methods

Method Description
DisposePointer ( IntPtr pointer, long size ) : void
OnReservedCapacityChanged ( long oldReservedCapacity, long newReservedCapacity ) : void

Private Methods

Method Description
MapFile ( long capacity ) : void
UnmapFile ( IntPtr pointer ) : bool
UnmapFile ( ) : void

Method Details

DisposePointer() protected method

protected DisposePointer ( IntPtr pointer, long size ) : void
pointer System.IntPtr
size long
return void

FileMappedResizableDirectMemory() public method

public FileMappedResizableDirectMemory ( string address ) : System
address string
return System

FileMappedResizableDirectMemory() public method

public FileMappedResizableDirectMemory ( string address, long minimumReservedCapacity ) : System
address string
minimumReservedCapacity long
return System

OnReservedCapacityChanged() protected method

protected OnReservedCapacityChanged ( long oldReservedCapacity, long newReservedCapacity ) : void
oldReservedCapacity long
newReservedCapacity long
return void

Property Details

Address protected_oe property

protected string Address
return string