The javadocs for CacheWriter#writeAll say

"If this operation fails (by throwing an exception) after a partial success,
the writer must remove any successfully written entries from the entries
collection so that the caching implementation knows what succeeded and can
mutate the cache."

Now it looks to me like none of the current implementations of this
method actually
obey this requirement, CacheStoreAdapter#writeAll being an example.

Is the javadoc wrong or the implementations ?


Kristian

Reply via email to