CachedSectionTData Class |
Namespace: CMS.Helpers
The CachedSectionTData type exposes the following members.
Name | Description | |
---|---|---|
CachedSectionTData(TData, CacheSettings) |
Constructor.
| |
CachedSectionTData(TData, Double, Boolean, String, Object) |
Constructor.
|
Name | Description | |
---|---|---|
mData |
Data to be cached / retrieved
| |
mDataWasSet |
Flag indicating whether the data property was set. The data property must be set if progressive caching is enabled
(Inherited from CachedSection.) | |
mException |
Exception that occurred when loading data
(Inherited from CachedSection.) | |
mLoadData |
True if the data should be loaded by the code.
(Inherited from CachedSection.) | |
mLock |
Object for the synchronization.
(Inherited from CachedSection.) | |
mLockAcquired |
Flag whether the lock was acquired for this cached section
(Inherited from CachedSection.) | |
mRemoved |
Flag set when the item is removed from the cache
(Inherited from CachedSection.) | |
mSettings |
Cache settings
(Inherited from CachedSection.) |
Name | Description | |
---|---|---|
BoolCondition |
Cache condition.
(Inherited from CachedSection.) | |
Cached |
If true, the data is used from the cache if available / cached
(Inherited from CachedSection.) | |
CacheDependency |
Cache dependency.
(Inherited from CachedSection.) | |
CacheItemName |
Cache item name used for the caching.
(Inherited from CachedSection.) | |
CacheMinutes |
Cache minutes.
(Inherited from CachedSection.) | |
Data |
Data to be cached / retrieved
| |
Exception |
Exception that occurred within loading of the data
(Inherited from CachedSection.) | |
LoadData |
If true, the external code should load the data. Using this property to control does not support distribution of unhandled exceptions in case of progressive caching.
(Inherited from CachedSection.) | |
Settings |
Cache settings
(Inherited from CachedSection.) |
Name | Description | |
---|---|---|
CallOnDispose |
Adds the given action to the list of actions called when the handler object is disposed
(Inherited from DisposableObject.) | |
Dispose |
Disposes the object.
(Overrides DisposableObjectDispose.) | |
GetData |
Attempts to get the data from cache.
| |
Lock |
Locks the event on the given lock object. The context stays locked until the handler is disposed.
(Inherited from DisposableObject.) | |
LogDataError |
Logs the error when data was not set
(Inherited from CachedSection.) | |
Remove |
Removes the cache item
(Inherited from CachedSection.) | |
Using |
Adds the given object to the list of the allocated objects to dispose
(Inherited from DisposableObject.) |