What are dependencies in cache and what are the different types of dependencies ?
.NET INTERVIEW QUESTIONS - What are dependencies in cache and what are the different types of dependencies ?
When you add an item to the cache, you can define dependency relationships that can force that item to be removed from the cache under specific activities of dependencies. Example if the cache object is dependent on file and when the file data changes you want the cache object to be update. Following are the supported dependency :-
* File dependency :- Allows you to invalidate a specific cache item when a disk based file or files change.
* Time-based expiration :- Allows you to invalidate a specific cache item depending on predefined time.
* Key dependency :-Allows you to invalidate a specific cache item depending when another cached item changes.
2009-05-05, 3959👍, 0💬
Can a variable be both const and volatile? Yes. The const modifier means that this code cannot chang...
What is page thrashing? Some operating systems (such as UNIX or Windows in enhanced mode) use virtua...
How can method defined in multiple base classes with same name be invoked from derived class simulta...
What is SMC approach of estimation?
What does a well-written Object Oriented program look like? A well-written object oriented program e...