the type of the Map entry value
the filter to evaluate an entry
a value to update an entry with
specifies whether or not the processor should return the current value in case it has not been updated
a put processor that updates an entry with a new value if
and only if the filter applied to the entry evaluates to true
.
Construct a ConditionalPutAll that updates an entry with a
new value if and only if the filter applied to the entry evaluates to
true
. The new value is extracted from the specified map based on the
entry's key.
the type of the Map entry key
the type of the Map entry value
the filter to evaluate all supplied entries
a map of values to update entries with
a ConditionalPutAll processor that updates an entry with a new value
if and only if the filter applied to the entry evaluates to
true
.
Construct a ConditionalRemove processor that removes an InvocableMap
entry if and only if the filter applied to the entry evaluates to true
.
This processor may optionally return the current value as a result of
the invocation if it has not been removed (the filter evaluated to
false
).
the filter to evaluate an entry
specifies whether or not the processor should return the current value if it has not been removed
a remove processor that removes an InvocableMap entry
if and only if the filter applied to the entry evaluates to true
.
Construct an extract processor based on the specified extractor.ValueExtractor.
the type of the Map entry keys
the type of the Map entry values
the type of the extracted value
a Extractor object; passing null is equivalent to using the IdentityExtractor or the property or method name to invoke to provide a value
an extract processor based on the specified extractor.
Construct an increment processor that will increment a property value by a specified amount, returning either the old or the new value as specified.
the type of the Map entry keys
the type of the Map entry values
the Manipulator or property to manipulate
the Number representing the magnitude and sign of the increment
pass true
to return the value as it was before
it was incremented, or pass false
to return the
value as it is after it is incremented
an increment processor
Construct MethodInvocationProcessor appropriate for invoking an accessor.
the type of the Map entry keys
the type of the Map entry values
the type of the extracted value
the name of the method to invoke
the method arguments
Construct MethodInvocationProcessor appropriate for invoking a mutating method.
the type of the Map entry keys
the type of the Map entry values
the type of the extracted value
the name of the method to invoke
the method arguments
Construct a NumberMultiplier processor that will multiply a property value by a specified factor, returning either the old or the new value as specified.
the type of the Map entry keys
the type of the Map entry values
the Manipulator or property to manipulate
the Number representing the magnitude and sign of the multiplier
pass true
to return the value as it was before
it was multiplied, or pass false
to return the
value as it is after it is multiplied
a multiply processor that will multiply a property value by a specified factor, returning either the old or the new value as specified
Return an EntryProcessor that does nothing and returns true
as a result of execution.
the type of the Map entry keys
the type of the Map entry values
an EntryProcessor that does nothing and returns true
as a result of execution
Construct the preload request processor.
the type of the Map entry key
the type of the Map entry value
a preload request processor
Return a new ScriptProcessor.
the type of the Map entry key
the type of the Map entry value
the language the script is written. Currently, only
js
(for JavaScript) is supported
the name of the EntryProcessor that needs to be executed
the arguments to be passed to the EntryProcessor
a new ScriptProcessor
Constructs a TouchProcessor that touches
an entry (if present) in order to
trigger interceptor re-evaluation and possibly increment expiry time.
a new TouchProcessor
Construct an update processor for a given method name. The method must have a single parameter of a Java type compatible with the specified value type.
the type of the Map entry key
the type of the Map entry value
the return type of the ValueUpdater
a ValueUpdater object the property or method name to invoke to provide a value
the value to update the target entry with
an update processor for a given method name
Construct a VersionedPut processor that updates an entry with a new value if and only if the version of the new value matches to the version of the current entry's value. This processor optionally returns the current value as a result of the invocation if it has not been updated (the versions did not match).
the type of the Map entry key
the type of the Map entry value
a value to update an entry with
specifies whether or not an insert should be allowed (no currently existing value)
specifies whether or not the processor should return the current value in case it has not been updated
Construct a VersionedPutAll processor that updates an entry with a new value if and only if the version of the new value matches to the version of the current entry's value (which must exist). This processor optionally returns a map of entries that have not been updated (the versions did not match).
the type of the Map entry key
the type of the Map entry value
a map of values to update entries with
specifies whether or not an insert should be allowed (no currently existing value)
specifies whether or not the processor should return the entries that have not been updated
a VersionedPutAll processor
Construct a ConditionalPut that updates an entry with a new value if and only if the filter applied to the entry evaluates to
true
. This processor optionally returns the current value as a result of the invocation if it has not been updated (the filter evaluated tofalse
).