| ProviderDictionaryTKey, TValue Class |
Namespace: CMS.DataEngine
public class ProviderDictionary<TKey, TValue> : AbstractProviderDictionary, IProviderDictionaryTemplate<TValue>, IProviderDictionaryWebFarmContainer
The ProviderDictionaryTKey, TValue type exposes the following members.
| Name | Description | |
|---|---|---|
| ProviderDictionaryTKey, TValue |
Constructor.
|
| Name | Description | |
|---|---|---|
| DefaultWebFarmTaskOperation |
Web farm task type to log
| |
| mDataIsValid |
True if the dictionary content is valid.
| |
| mDefaultObjectLatency |
Object latency of the hashtable.
| |
| mDictionary |
Inner dictionary.
| |
| mEnabled |
If true, the provider functionality is enabled.
| |
| mLogWebFarmTasks |
Logs web farm tasks.
| |
| mParentCollection |
Parent dictionary collection.
| |
| mReloadDictionary |
If true, the dictionary should be reloaded.
|
| Name | Description | |
|---|---|---|
| ColumnNames |
Column names
| |
| Count |
Items count (all keys).
| |
| DataIsValid |
Returns true if the dictionary content is valid.
| |
| Dictionary |
Inner dictionary.
| |
| Enabled |
If true, the dictionary is enabled.
| |
| IsEmpty |
Returns true if the Dictionary is empty.
| |
| Item |
Dictionary indexer.
| |
| LogWebFarmTasks |
Gets / sets if the dictionary should log web farm tasks
| |
| Name |
Dictionary name.
| |
| ObjectLatency |
Object latency in minutes.
| |
| ObjectType |
Object type
| |
| ParentCollection |
Parent dictionary collection.
| |
| RemovedValue |
Value that is set to the specific key if the value is removed. If not set, the item is completely removed.
| |
| UseWeakReferences |
If true, the weak references are used for the items so the memory can be cleared upon request
| |
| Values |
Returns the values of the dictionary
|
| Name | Description | |
|---|---|---|
| Add(Object, TValue) |
Adds the specified object.
| |
| Add(TKey, TValue) |
Adds the specified object.
| |
| Add(TKey, TValue, Boolean) |
Adds the specified object.
| |
| Clear |
Clears all the items.
(Overrides AbstractProviderDictionaryClear(Boolean).) | |
| ClearExpired |
Clears all the expired items.
| |
| ClearInternal |
Clears the internal dictionary
| |
| ClearOlder |
Removes the objects older that specified time.
| |
| Contains(Object) |
Returns true if the table contains specified record.
| |
| Contains(TKey) |
Returns true if the table contains specified record.
| |
| Contains(Object, TValue) |
Returns true if the table contains specified record.
| |
| Contains(TKey, TValue) |
Returns true if the table contains specified record.
| |
| ContainsInternal |
Returns true if the internal dictionary contains specified record.
| |
| ContainsKey |
Returns true if the table contains specified record.
| |
| ConvertKey |
Converts the key to a specific type
| |
| Delete |
Removes the specified object and logs the web farm task.
| |
| GetDictionaries |
Gets the ArrayList of dictionaries of specified object type.
| |
| GetDictionaryName |
Gets the provider name.
| |
| GetRealCount |
Gets the real count of the objects in the dictionary
| |
| Invalidate |
Invalidates the dictionary content.
| |
| LoadNextGeneration |
Loads the next generation of the objects.
| |
| LogWebFarmTask(String, String) |
Logs the web farm task with specified task data.
| |
| LogWebFarmTask(TKey, String) |
Logs the web farm task for specified object key.
| |
| NextGenerationAvailable |
Returns true if the next generation of the objects is available.
| |
| ProcessWebFarmTask |
Processes the given web farm task.
| |
| ReloadDictionaries |
Reloads the dictionaries of specified object type.
| |
| Remove(Object) |
Removes the specified object.
| |
| Remove(TKey) |
Removes the specified object.
| |
| Remove(TKey, Boolean) |
Removes the specified object.
| |
| RemoveInternal |
Removes the key from the internal dictionary
| |
| TryGetInternal |
Returns true if the internal dictionary contains specified record.
| |
| Update |
Updates the specified object and logs the web farm task.
|