TheMirrorCache<(Of <(<'T>)>)> Members
The TheMirrorCache<(Of <(<'T>)>)> type exposes the following members.
Constructors
Name | Description | |
---|---|---|
TheMirrorCache<(Of <(<'T>)>)>()()()() |
Initializes a new instance of the TheMirrorCache<(Of <(<'T>)>)> class.
|
|
TheMirrorCache<(Of <(<'T>)>)>(Int32) |
Initializes a new instance of the TheMirrorCache<(Of <(<'T>)>)> class.
|
Methods
Name | Description | |
---|---|---|
AddAnItem(T, Action<(Of <<'(List<(Of <<'(T>)>>)>)>>)) |
Adds an item.
|
|
AddAnItem(Guid, T, Action<(Of <<'(T>)>>)) |
Adds an item.
|
|
AddItems(List<(Of <<'(T>)>>), Action<(Of <<'(List<(Of <<'(T>)>>)>)>>)) |
Adds the items.
|
|
AddItems(Dictionary<(Of <<'(Guid, T>)>>), Action<(Of <<'(List<(Of <<'(T>)>>)>)>>)) |
New in V2.5: Adds a dictionary of T to the StorageMirrorCache
The Guid in the Key will be copied to the cdeMID (IndexKey) of T
If the key already exists in the store, the record will not be added.
|
|
AddOrUpdateItem(Guid, T, Action<(Of <<'(T>)>>)) |
Adds the or update item.
|
|
AddOrUpdateItem(T) |
Adds the or update item.
|
|
AddOrUpdateItemKey |
Blob and MyEngines
|
|
Clear |
Clears the specified zip before.
|
|
ContainsByFunc |
Determines whether [contains by function] [the specified p selector].
|
|
ContainsID(String) |
Blob and MyEngines
|
|
ContainsID(Guid) |
Determines whether the specified p key contains identifier.
|
|
ContainsIDStr |
Allowed for MyBlobData
|
|
Dispose |
Disposes this instance.
|
|
Equals(System.Object) | (Inherited from Object.) | |
Fill(TheStorageMirror<(Of <(<'T>)>)>..::..StoreResponse) |
Fills the specified p response.
|
|
Fill(TheStorageMirror<(Of <<'(T>)>>), Boolean) |
Fills the specified p mirror.
|
|
Fill(TheStorageMirror<(Of <<'(T>)>>), String, Int32, Boolean) |
Fills the specified p mirror.
|
|
Finalize | (Inherited from Object.) | |
FlushCache(Boolean) |
Flushes the cache.
|
|
FlushCache(Boolean, Boolean) | ||
ForceSave | ||
GetEntriesByFunc |
Gets the entries by function.
|
|
GetEntryByFunc |
Gets the entry by function.
|
|
GetEntryByID(String) |
Gets the entry by identifier.
|
|
GetEntryByID(Guid) |
Gets the entry by identifier.
|
|
GetFirstItem | Obsolete.
Gets the first item.
|
|
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
LoadCacheFromDisk |
Loads the cache from disk.
|
|
MemberwiseClone | (Inherited from Object.) | |
NotifyOfUpdate |
Notifies the of update.
|
|
RemoveAllItems |
Removes all items.
|
|
RemoveAnItem(T, Action<(Of <<'(List<(Of <<'(T>)>>)>)>>)) |
Removes an item.
|
|
RemoveAnItem(T) |
Removes an item.
|
|
RemoveAnItemByID |
Blob and MyEngines
|
|
RemoveAnItemByKey |
Removes an item by key.
|
|
RemoveItems |
Removes the items.
|
|
RemoveItemsByKeyList |
Removes the items by key list.
|
|
RemoveStore | ||
Reset |
Resets this instance.
|
|
SaveCacheToDisk |
Saves the cache to disk.
|
|
SetAutoUpdateOnChange |
Sets the automatic update on change.
|
|
SetMaxStoreSize |
Sets the maximum size of the store.
|
|
Shutdown |
Shutdowns this instance.
|
|
ToString | (Inherited from Object.) | |
TrackInsertionOrder |
Enables APIs for retrieving items in the order in which they were inserted, including by sequence number. Can only be set on an empty cache.
|
|
UpdateID(Guid, Guid) |
Updates the Guid identifier.
|
|
UpdateID(String, String) |
Updates the string identifier.
|
|
UpdateItem |
Updates the item.
|
|
UpdateItems |
Updates the items.
|
Fields
Name | Description | |
---|---|---|
eventCachedReady |
The event once cache is ready
|
|
HasUpdates |
Event if the Store has updates
|
|
NewCacheFileCallback |
Called after a new cache file is created.
Occurs for AppendOnly StorageMirrors that have defined a MaxCacheFileSize
|
Properties
Name | Description | |
---|---|---|
AllowFireUpdates |
Gets or sets a value indicating whether [allow fire updates].
|
|
AppendOnly |
If set to true the store will only append records to disk and not store any in RAM (MyRecords of the MirrorCache)
|
|
BlockWriteIfIsolated | ||
CacheStoreInterval | ||
Count |
Gets the count.
|
|
FastSaveLock |
For persistent mirror caches, indicates if save operations should minimize locking by serializing to memory instead of disk (trades off higher memory usage against performance)
|
|
IsCacheEncrypted |
Gets or sets a value indicating whether this instance is cache encrypted.
|
|
IsCachePersistent |
Gets or sets a value indicating whether this instance is cache persistent.
|
|
IsReady |
Gets or sets a value indicating whether this instance is ready.
|
|
IsStoreIntervalInSeconds |
If set to true the store will save the content very CacheStoreInterval seconds. If set to false it requries CacheStoreInterval Changes to the store to write to disk
|
|
MaxCacheFileCount |
Maxmimum number of cache files allowed. Once this number is reached, older files will be deleted. Used only for AppendOnly StorageMirrors.
|
|
MaxCacheFileSize |
Maximum size (in KB) allowed for a single cache file. Used only for AppendOnly StorageMirrors.
|
|
TheKeys |
Gets the keys.
|
|
TheValues |
Gets the values.
|
|
UseSafeSave |
For persistent caches, gets or sets a value indicating whether to keep a backup copy during each save.
|