Package org.cache2k.processor
Interface EntryProcessingResult<R>
-
public interface EntryProcessingResult<R>
Result tuple forCache.invokeAll()
.- Author:
- Jens Wilke
- See Also:
EntryProcessor
,Cache.invokeAll(java.lang.Iterable<? extends K>, org.cache2k.processor.EntryProcessor<K, V, R>)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Throwable
getException()
Original exception of entry processing or null if no exception occurred.R
getResult()
Result of entry processing.
-
-
-
Method Detail
-
getResult
R getResult()
Result of entry processing.- Throws:
EntryProcessingException
- if an exception occurred during processing.
-
getException
Throwable getException()
Original exception of entry processing or null if no exception occurred. If this is null, #getResult will throw no exception.
-
-