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
|
Set<?> |
getFilter()
Returns subset of keys (filter) provided by the invoking thread (aka routing
objects).
|
getArguments, getFunctionId, getResultSender, isPossibleDuplicate
Set<?> getFilter()
Execution.withFilter(Set)
<K,V> Region<K,V> getDataSet()
FunctionService.onRegion(Region)
Copyright © 1997-2017 Pivotal Software, Inc. All rights reserved.