Top Description Methods
javax.cache.processor

public Interface EntryProcessorResult<T>

Type Parameters
<T>
the type of the return value
Imports
javax.cache.CacheException

A mechanism to represent and obtain the result of processing a javax.cache.Cache entry using an EntryProcessor.
Author
Brian Oliver
Since
1.0

Method Summary

Modifier and TypeMethod and Description
public T

Returns:

the result of processing
get
()

Obtain the result of processing an entry with an EntryProcessor.

Method Detail

getback to summary
public T get() throws EntryProcessorException

Obtain the result of processing an entry with an 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.

Returns:T

the result of processing

Exceptions
EntryProcessorException:
if the EntryProcessor raised an exception, this exception will be used to wrap the causing exception
CacheException:
if the implementation failed to execute the EntryProcessor