ResourcePermission
instead@Deprecated public class GetOperationContext extends KeyValueOperationContext
OperationContext.OperationCode.GET
region operation having the key object for the pre-operation case and both key, value objects for
the post-operation case.OperationContext.OperationCode
Constructor and Description |
---|
GetOperationContext(Object key,
boolean postOperation)
Deprecated.
Constructor for the operation.
|
Modifier and Type | Method and Description |
---|---|
Object |
getObject()
Deprecated.
Get the value of this get operation.
|
OperationContext.OperationCode |
getOperationCode()
Deprecated.
Return the operation associated with the
OperationContext object. |
void |
setObject(Object value,
boolean isObject)
Deprecated.
Set the result value of the object for this operation.
|
void |
setPostOperation()
Deprecated.
Set the post-operation flag to true.
|
getDeserializedValue, getSerializedValue, getValue, isObject, setSerializedValue, setValue
getCallbackArg, getKey, isPostOperation, setCallbackArg
isClientUpdate, isClientUpdate
public GetOperationContext(Object key, boolean postOperation)
key
- the key for this operationpostOperation
- true if the context is for the post-operation casepublic OperationContext.OperationCode getOperationCode()
OperationContext
object.getOperationCode
in class KeyOperationContext
OperationCode.GET
.public void setPostOperation()
setPostOperation
in class KeyOperationContext
public Object getObject()
KeyValueOperationContext.getSerializedValue()
or KeyValueOperationContext.getDeserializedValue()
.public void setObject(Object value, boolean isObject)
value
- the result of this operation; can be a serialized byte array or a deserialized
objectisObject
- true when the value is an object (either serialized or deserialized); false
when it is a raw byte array