GemFire 6.6

com.gemstone.gemfire.cache.operations
Class PutAllOperationContext

java.lang.Object
  extended by com.gemstone.gemfire.cache.operations.OperationContext
      extended by com.gemstone.gemfire.cache.operations.PutAllOperationContext

public class PutAllOperationContext
extends OperationContext

Encapsulates a OperationContext.OperationCode.KEY_SET operation for both the pre-operation and post-operation cases.

Since:
5.7

Nested Class Summary
 
Nested classes/interfaces inherited from class com.gemstone.gemfire.cache.operations.OperationContext
OperationContext.OperationCode
 
Constructor Summary
PutAllOperationContext(Map map)
          Constructor for the operation.
 
Method Summary
 Map getMap()
          get the authorized map.
 OperationContext.OperationCode getOperationCode()
          Return the operation associated with the OperationContext object.
 boolean isPostOperation()
          True if the context is for post-operation.
 void setMap(Map map)
          set the authorized map.
 
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

PutAllOperationContext

public PutAllOperationContext(Map map)
Constructor for the operation.

Method Detail

getOperationCode

public OperationContext.OperationCode getOperationCode()
Return the operation associated with the OperationContext object.

Specified by:
getOperationCode in class OperationContext
Returns:
OperationCode.PUTALL.

isPostOperation

public boolean isPostOperation()
True if the context is for post-operation.

Specified by:
isPostOperation in class OperationContext

getMap

public Map getMap()
get the authorized map.


setMap

public void setMap(Map map)
set the authorized map.


GemFire 6.6

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