ResourcePermission instead@Deprecated public abstract class KeyOperationContext extends OperationContext
OperationContext.OperationCode.DESTROY and
OperationContext.OperationCode.CONTAINS_KEY.OperationContext.OperationCode| Constructor and Description |
|---|
KeyOperationContext(Object key)
Deprecated.
Constructor for the operation.
|
KeyOperationContext(Object key,
boolean postOperation)
Deprecated.
Constructor for the operation.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getCallbackArg()
Deprecated.
Get the callback argument object for this operation.
|
Object |
getKey()
Deprecated.
Get the key object for this operation.
|
abstract 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.
|
protected void |
setPostOperation()
Deprecated.
Set the post-operation flag to true.
|
isClientUpdate, isClientUpdatepublic KeyOperationContext(Object key)
key - the key for this operationpublic KeyOperationContext(Object key, boolean postOperation)
key - the key for this operationpostOperation - true to set the post-operation flagpublic abstract OperationContext.OperationCode getOperationCode()
OperationContext object.getOperationCode in class OperationContextOperationCode of this operation. This is one of
OperationContext.OperationCode.DESTROY or
OperationContext.OperationCode.CONTAINS_KEY
for KeyOperationContext, and one of
OperationContext.OperationCode.GET or
OperationContext.OperationCode.PUT for
KeyValueOperationContext.public boolean isPostOperation()
isPostOperation in class OperationContextprotected void setPostOperation()
public Object getKey()
public Object getCallbackArg()
public void setCallbackArg(Object callbackArg)
callbackArg - the callback argument object for this operation.