Package org.cache2k.processor
Interface EntryProcessingResult<R>
-
public interface EntryProcessingResult<@Nullable 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 @Nullable Throwable
getException()
Original exception from entry processing ornull
if no exception occurred.R
getResult()
Result of entry processing.
-
-
-
Method Detail
-
getResult
@Nullable R getResult()
Result of entry processing.- Throws:
EntryProcessingException
- if an exception occurred during processing.
-
getException
@Nullable @Nullable Throwable getException()
Original exception from entry processing ornull
if no exception occurred. If this isnull
,getResult()
will not throw an exception.
-
-