Class UpdateItemResult<TCacheValue>
Used by cache handle implementations to let the cache manager know what happened during an update operation.
Inherited Members
Namespace:CacheManager.Core.Internal
Assembly:CacheManager.Core.dll
Syntax
public class UpdateItemResult<TCacheValue>
Type Parameters
Name | Description |
---|---|
TCacheValue | The type of the cache value. |
Properties
| Improve this Doc View SourceNumberOfTriesNeeded
Gets the number of tries the cache needed to update the item.
Declaration
public int NumberOfTriesNeeded { get; }
Property Value
Type | Description |
---|---|
Int32 | The number of retries needed. |
UpdateState
Gets a value indicating whether the update operation was successful or not.
Declaration
public UpdateItemResultState UpdateState { get; }
Property Value
Type | Description |
---|---|
UpdateItemResultState | The current UpdateItemResultState. |
Value
Gets the updated value.
Declaration
public CacheItem<TCacheValue> Value { get; }
Property Value
Type | Description |
---|---|
CacheItem<TCacheValue> | The updated value. |
VersionConflictOccurred
Gets a value indicating whether a version conflict occurred during an update operation.
Declaration
public bool VersionConflictOccurred { get; }
Property Value
Type | Description |
---|---|
Boolean |
|