public class ExecuteFunctionOperationContext extends OperationContext
OperationContext.OperationCode
Constructor and Description |
---|
ExecuteFunctionOperationContext(String functionName,
String regionName,
Set keySet,
Object arguments,
boolean optimizeForWrite,
boolean isPostOperation) |
Modifier and Type | Method and Description |
---|---|
Object |
getArguments() |
String |
getFunctionId() |
Set |
getKeySet() |
OperationContext.OperationCode |
getOperationCode()
Return the operation code associated with the
OperationContext
object. |
String |
getRegionName() |
Object |
getResult() |
boolean |
isOptimizeForWrite() |
boolean |
isPostOperation()
True if the context is for post-operation.
|
void |
setIsPostOperation(boolean isPostOperation) |
void |
setResult(Object oneResult) |
isClientUpdate, isClientUpdate
public OperationContext.OperationCode getOperationCode()
OperationContext
OperationContext
object.getOperationCode
in class OperationContext
public boolean isPostOperation()
OperationContext
OperationContext
interface encapsulates the data both
before the operation is performed and after the operation is complete. For
example, for a query operation the Query
object as well as
the list of region names referenced by the query would be part of the
context object in the pre-processing stage. In the post-processing stage
the context object shall contain results of the query.isPostOperation
in class OperationContext
public String getFunctionId()
public String getRegionName()
public boolean isOptimizeForWrite()
public Object getResult()
public Set getKeySet()
public Object getArguments()
public void setResult(Object oneResult)
public void setIsPostOperation(boolean isPostOperation)
Copyright © 1997-2017 Pivotal Software, Inc. All rights reserved.