public interface RegionFunctionContext extends FunctionContext
Function
.
Applications can use the methods provided to retrieve the Region and context specific routing
objects. When the function is executed using FunctionService.onRegion(Region)
, the
FunctionContext
can be typecast to this type.
If the region is a partitioned region, PartitionRegionHelper
can be used to get local and
colocated data references.
FunctionContext
,
PartitionRegionHelper
Modifier and Type | Method and Description |
---|---|
<K,V> Region<K,V> |
getDataSet()
Returns the reference to the Region on which the function is executed
|
java.util.Set<?> |
getFilter()
Returns subset of keys (filter) provided by the invoking thread (aka routing objects).
|
getArguments, getFunctionId, getResultSender, isPossibleDuplicate
java.util.Set<?> getFilter()
Execution.withFilter(Set)
<K,V> Region<K,V> getDataSet()
FunctionService.onRegion(Region)