1

I am implementing appfabric for distributed caching , needed to know is the timeout property provided in one of the overloads is sliding or not , i.e. it increases the timeout with every usage , and how to change setting from sliding to absolute if possible

Tushar
  • 21
  • 4

1 Answers1

2

The MSDN documentation doesn't clearly specify, but I would expect that if it used a sliding expiry it would have discussed it in the comments, and therefore I believe it to be an absolute timeout.

PhilPursglove
  • 12,511
  • 5
  • 46
  • 68
  • 2
    I confirmed that all timeouts are absolute by nature. However there is a way to reset the timeout without getting item (aka DataCache.ResetObjectTimeout) – Cybermaxs Apr 17 '13 at 06:19