ignite-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kristian Rosenvold <krosenv...@apache.org>
Subject CacheWriter#writeAll javadocs inconsistent with implementations ?
Date Tue, 16 Aug 2016 11:57:32 GMT
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 ?


View raw message