G
Guadala Harry
AFAIK, when placing an object into the Cache with no special instructions
(no dependencies, sliding expirations, hard expirations, etc), it will just
sit there in the Cache until the system decides it needs to remove the
object to free up memory. (If my understanding so far is wrong, please
clarify)
What I'd like to know is that if I place an object into the Cache with a
sliding expiration - is it possible/likely that the system will remove the
object prior to the expiration time being reached? Put another way, does a
sliding expiration *only* instruct the system to remove the object at a
certain time (at the end of the sliding window when eventually reached) -
but otherwise allows the object to be removed from the Cache to free up
resources if necessary prior to the end of the sliding window being reached?
My code doesn't make any assumptions either way about an object being in the
Cache at any given point in time - sliding window or not... I just want to
understand the whole sliding window thing better.
-GH
(no dependencies, sliding expirations, hard expirations, etc), it will just
sit there in the Cache until the system decides it needs to remove the
object to free up memory. (If my understanding so far is wrong, please
clarify)
What I'd like to know is that if I place an object into the Cache with a
sliding expiration - is it possible/likely that the system will remove the
object prior to the expiration time being reached? Put another way, does a
sliding expiration *only* instruct the system to remove the object at a
certain time (at the end of the sliding window when eventually reached) -
but otherwise allows the object to be removed from the Cache to free up
resources if necessary prior to the end of the sliding window being reached?
My code doesn't make any assumptions either way about an object being in the
Cache at any given point in time - sliding window or not... I just want to
understand the whole sliding window thing better.
-GH