Top Description Interfaces Classes
[default module]

Package javax.cache.processor


This package contains the API for Entry Processors.

Implementations may optionally enforce security restrictions. In case of a violation, a java.lang.SecurityException must be thrown.

Author
Greg Luck
Since
1.0

Interface Summary

Modifier and TypeInterface and Description
public interface
EntryProcessor<
the type of keys maintained by this cache
K
,
the type of cached values
V
,
the type of the return value
T
>

An invocable function that allows applications to perform compound operations on a javax.cache.Cache.Entry atomically, according to the defined consistency of a Cache.

public interface
EntryProcessorResult<
the type of the return value
T
>

A mechanism to represent and obtain the result of processing a javax.cache.Cache entry using an EntryProcessor.

public interface
MutableEntry<
the type of key
K
,
the type of value
V
>

A mutable representation of a javax.cache.Cache.Entry.

Class Summary

Modifier and TypeClass and Description
public class
EntryProcessorException

An exception to indicate a problem occurred attempting to execute an EntryProcessor against an entry.