com.gemstone.gemfire.cache.operations
Class ExecuteFunctionOperationContext
java.lang.Object
com.gemstone.gemfire.cache.operations.OperationContext
com.gemstone.gemfire.cache.operations.ExecuteFunctionOperationContext
public class ExecuteFunctionOperationContext
- extends OperationContext
OperationContext for Function execution operation. This is for the pre-operation case
- Since:
- 6.0
ExecuteFunctionOperationContext
public ExecuteFunctionOperationContext(String functionName,
String regionName,
Set keySet,
boolean optimizeForWrite,
boolean isPostOperation)
getOperationCode
public OperationContext.OperationCode getOperationCode()
- Description copied from class:
OperationContext
- Return the operation code associated with the
OperationContext
object.
- Specified by:
getOperationCode
in class OperationContext
isPostOperation
public boolean isPostOperation()
- Description copied from class:
OperationContext
- True if the context is for post-operation.
The
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.
- Specified by:
isPostOperation
in class OperationContext
getFunctionId
public String getFunctionId()
getRegionName
public String getRegionName()
isOptimizeForWrite
public boolean isOptimizeForWrite()
getResult
public Serializable getResult()
getKeySet
public Set getKeySet()
setResult
public void setResult(Serializable result)
setIsPostOperation
public void setIsPostOperation(boolean isPostOperation)
Copyright © 1997-2011 VMware, Inc. All rights reserved.