Interprocess
|
public class InterprocessCache : IDisposable
The InterprocessCache type exposes the following members.
Name | Description | |
---|---|---|
InterprocessCache | Creates a new instance of the InterprocessCache. | |
InterprocessCache(Int32) | Creates a new instance of the InterprocessCache with the specified number of maximumConcurrentLocks. |
Name | Description | |
---|---|---|
AutoSave | Gets or sets flag that determines if InterprocessCache should automatically initiate a save when FileData has been updated. | |
FileData | Gets or sets file data for the cache to be saved or that has been loaded. | |
FileName | Path and file name for the cache needing inter-process synchronization. | |
MaximumConcurrentLocks | Gets the maximum concurrent reader locks allowed. | |
MaximumRetryAttempts | Maximum retry attempts allowed for loading or saving cache file data. | |
ReloadOnChange | Gets or sets flag that enables system to monitor for changes in FileName and automatically reload FileData. | |
RetryDelayInterval | Wait interval, in milliseconds, before retrying load or save of cache file data. |
Name | Description | |
---|---|---|
Dispose | Releases all the resources used by the InterprocessCache object. | |
Dispose(Boolean) | Releases the unmanaged resources used by the InterprocessCache object and optionally releases the managed resources. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
Finalize |
Releases the unmanaged resources before the InterprocessCache object is reclaimed by GC.
(Overrides ObjectFinalize) | |
GetHashCode | Serves as the default hash function. (Inherited from Object) | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
Load | Initiates inter-process synchronized cache file load. | |
LoadFileData | Handles deserialization of file from disk; virtual method allows customization (e.g., pre-load decryption and/or data merge). | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
Save | Initiates inter-process synchronized cache file save. | |
SaveFileData | Handles serialization of file to disk; virtual method allows customization (e.g., pre-save encryption and/or data merge). | |
ToString | Returns a string that represents the current object. (Inherited from Object) | |
WaitForLoad | Blocks current thread and waits for any pending load to complete; wait time is RetryDelayInterval * MaximumRetryAttempts. | |
WaitForLoad(Int32) | Blocks current thread and waits for specified millisecondsTimeout for any pending load to complete. | |
WaitForSave | Blocks current thread and waits for any pending save to complete; wait time is RetryDelayInterval * MaximumRetryAttempts. | |
WaitForSave(Int32) | Blocks current thread and waits for specified millisecondsTimeout for any pending save to complete. |
Name | Description | |
---|---|---|
DefaultMaximumRetryAttempts | Default maximum retry attempts allowed for loading InterprocessCache. | |
DefaultRetryDelayInterval | Default wait interval, in milliseconds, before retrying load of InterprocessCache. |
Name | Description | |
---|---|---|
GetEnumValueOrDefault |
Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) | |
GetEnumValueOrDefaultT |
Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) |