The IWriteThruProvider type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| AddToSource(String, Object) |
Responsible for adding object in data source.
Object will not be added to cache if it fails to add in data source.
| |
| AddToSource(array<String>[]()[][], array<Object>[]()[][]) |
Responsible for adding array of objects in data source.
Objects, who failed to add, will not be added in cache
| |
| Clear |
Clears data source. Cache will not be cleared if data source is not cleared
| |
| RemoveFromSource(String) |
Responsible for removing object in data source.
Object will not be removed from cache if it fails is not removed from data source.
| |
| RemoveFromSource(array<String>[]()[][]) |
Responsible for removing array of objects from data source.
Objects, who failed to remove, will not be removed in cache
| |
| Start |
Perform tasks like allocating resources or acquiring connections etc.
| |
| Stop |
Perform tasks associated with freeing, releasing, or resetting resources.
| |
| UpdateSource(String, Object) |
Responsible for updating object in data source.
Object will not be updated in cache if it fails to update in data source.
| |
| UpdateSource(array<String>[]()[][], array<Object>[]()[][]) |
Responsible for updating array of objects in data source.
Objects, who failed to update, will not be updated in cache
|