diff --git a/src/main/java/javax/cache/Cache.java b/src/main/java/javax/cache/Cache.java index 4b5de3e..462c43b 100644 --- a/src/main/java/javax/cache/Cache.java +++ b/src/main/java/javax/cache/Cache.java @@ -992,11 +992,10 @@ T invoke(K key, * must wrap any {@link Exception} thrown * wrapped in an {@link EntryProcessorException}. * @see EntryProcessor - * todo return type should be void */ - T invoke(K key, + void invoke(K key, EntryProcessor entryProcessor, - Collector collector, + Collector collector, Object... arguments) throws EntryProcessorException; /** @@ -1075,10 +1074,11 @@ Map> invokeAll(Set keys, * types are incompatible with those that have been * configured for the {@link Cache} * @see EntryProcessor + * @since 1.1 */ void invokeAll(Set keys, EntryProcessor entryProcessor, - Collector> collector, + Collector> collector, Object... arguments); /**