public interface FunctionContext
Function
. It is required by the
Function.execute(FunctionContext)
to execute a Function
on a particular member.
A context can be data dependent or data independent. For data dependent functions refer to
RegionFunctionContext
This interface is implemented by GemFire. Instances of it will be passed in to
Function.execute(FunctionContext)
.
RegionFunctionContext
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getArguments()
Returns the arguments provided to this function execution.
|
java.lang.String |
getFunctionId()
Returns the identifier of the function.
|
<T> ResultSender<T> |
getResultSender()
Returns the ResultSender which is used to add the ability for an execute method to send a
single result back, or break its result into multiple pieces and send each piece back to the
calling thread's ResultCollector.
|
boolean |
isPossibleDuplicate()
Returns a boolean to identify whether this is a re-execute.
|
java.lang.Object getArguments()
Execution.withArgs(Object)
java.lang.String getFunctionId()
Function.getId()
<T> ResultSender<T> getResultSender()
boolean isPossibleDuplicate()
Function.isHA()