T
- the type of the return valuepublic interface EntryProcessorResult<T>
Cache
entry using an EntryProcessor
.Modifier and Type | Method | Description |
---|---|---|
T |
get() |
Obtain the result of processing an entry with an
EntryProcessor . |
T get() throws EntryProcessorException
EntryProcessor
.
If an exception was thrown during the processing of an entry, either by
the EntryProcessor
itself or by the Caching implementation,
the exceptions will be wrapped and re-thrown as a
EntryProcessorException
when calling this method.
CacheException
- if the implementation failed to execute
the EntryProcessor
EntryProcessorException
- if the EntryProcessor
raised
an exception, this exception will be
used to wrap the causing exceptionCopyright © 2017. All rights reserved.