ChatIncrementalCacheWithCurrentStateWrapperTData, TPrimaryKey Methods |
The ChatIncrementalCacheWithCurrentStateWrapperTData, TPrimaryKey generic type exposes the following members.
Name | Description | |
---|---|---|
ForceGetItem |
Tries to get item from CurrentState. If item wasn't found, current state is reloaded and then it tries again.
| |
GetCurrentStateWithLastChange |
Gets current state together with time of last change.
| |
GetLatestData |
Gets data from cache (if item in cache with key made from changedSince exists). Otherwise it gets items from fetchChangedDataFunc.
This function returns only data changed after changedSince.
Null is returned if nothing was found.
| |
InvalidateCurrentState |
Invalidates current state. Before next fetch of current state data (property CurrentState, method UpdateAndTryGetItem(), etc.)
data will be reloaded from data source.
| |
UpdateAndTryGetItem |
Invalidates cache and then tries to get item.
|