ResourcePermission
instead@Deprecated public class PutAllOperationContext extends OperationContext
OperationContext.OperationCode.PUTALL
operation for both the pre-operation and post-operation cases.OperationContext.OperationCode
Constructor and Description |
---|
PutAllOperationContext(Map map)
Deprecated.
Constructor for the operation.
|
Modifier and Type | Method and Description |
---|---|
Object |
getCallbackArg()
Deprecated.
Get the callback argument object for this operation.
|
<K,V> Map<K,V> |
getMap()
Deprecated.
Returns the map whose keys and values will be put.
|
OperationContext.OperationCode |
getOperationCode()
Deprecated.
Return the operation associated with the
OperationContext object. |
boolean |
isPostOperation()
Deprecated.
True if the context is for post-operation.
|
void |
setCallbackArg(Object callbackArg)
Deprecated.
Set the callback argument object for this operation.
|
void |
setMap(Map map)
Deprecated.
use getMap() instead and modify the values in the map it returns
|
protected void |
setPostOperation()
Deprecated.
Set the post-operation flag to true.
|
isClientUpdate, isClientUpdate
public PutAllOperationContext(Map map)
map
- the map of keys and values to putpublic OperationContext.OperationCode getOperationCode()
OperationContext
object.getOperationCode
in class OperationContext
OperationCode.PUTALL
.public boolean isPostOperation()
isPostOperation
in class OperationContext
protected void setPostOperation()
public <K,V> Map<K,V> getMap()
K
- the type of keys in the mapV
- the type of values in the map@Deprecated public void setMap(Map map)
map
- the authorized map to setIllegalArgumentException
- if the given map is null or if its keys are not the same as
the original keys.public Object getCallbackArg()
public void setCallbackArg(Object callbackArg)
callbackArg
- the callback argument object for this operation.