I have the following definitions:
"none"
- do nothing"inject"
- re-inject the items back into the data store
The above definition is taken from the official documentation. I don't understand what's the point of re-injecting items back into the DS? To a consumer of the resource, how does it differ from doing nothing?
At first impression, I thought re-injecting would update the lastModified timestamp but it doesn't, as verified by running a sample app.
Sorry, but the documentation was misleading, and has now been fixed.
What the
reap
method'sinject
option actually does is reset expired items' expiry timeout to the value of themaxAge
option, whereas thenone
option does not.