The IWriteThruProvider type exposes the following members.

Methods

  NameDescription
Public methodAddToSource(String, Object)
Responsible for adding object in data source. Object will not be added to cache if it fails to add in data source.
Public methodAddToSource(array<String>[]()[][], array<Object>[]()[][])
Responsible for adding array of objects in data source. Objects, who failed to add, will not be added in cache
Public methodClear
Clears data source. Cache will not be cleared if data source is not cleared
Public methodRemoveFromSource(String)
Responsible for removing object in data source. Object will not be removed from cache if it fails is not removed from data source.
Public methodRemoveFromSource(array<String>[]()[][])
Responsible for removing array of objects from data source. Objects, who failed to remove, will not be removed in cache
Public methodStart
Perform tasks like allocating resources or acquiring connections etc.
Public methodStop
Perform tasks associated with freeing, releasing, or resetting resources.
Public methodUpdateSource(String, Object)
Responsible for updating object in data source. Object will not be updated in cache if it fails to update in data source.
Public methodUpdateSource(array<String>[]()[][], array<Object>[]()[][])
Responsible for updating array of objects in data source. Objects, who failed to update, will not be updated in cache

See Also