GemFire 6.6.1

com.gemstone.gemfire.cache.operations
Class ExecuteFunctionOperationContext

java.lang.Object
  extended by com.gemstone.gemfire.cache.operations.OperationContext
      extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class com.gemstone.gemfire.cache.operations.OperationContext
OperationContext.OperationCode
 
Constructor Summary
ExecuteFunctionOperationContext(String functionName, String regionName, Set keySet, boolean optimizeForWrite, boolean isPostOperation)
           
 
Method Summary
 String getFunctionId()
           
 Set getKeySet()
           
 OperationContext.OperationCode getOperationCode()
          Return the operation code associated with the OperationContext object.
 String getRegionName()
           
 Serializable getResult()
           
 boolean isOptimizeForWrite()
           
 boolean isPostOperation()
          True if the context is for post-operation.
 void setIsPostOperation(boolean isPostOperation)
           
 void setResult(Serializable result)
           
 
Methods inherited from class com.gemstone.gemfire.cache.operations.OperationContext
isClientUpdate, isClientUpdate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExecuteFunctionOperationContext

public ExecuteFunctionOperationContext(String functionName,
                                       String regionName,
                                       Set keySet,
                                       boolean optimizeForWrite,
                                       boolean isPostOperation)
Method Detail

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)

GemFire 6.6.1

Copyright © 1997-2011 VMware, Inc. All rights reserved.