public abstract class OperationContext extends Object
Modifier and Type | Class and Description |
---|---|
static class |
OperationContext.OperationCode
Enumeration for various cache operations.
|
Constructor and Description |
---|
OperationContext() |
Modifier and Type | Method and Description |
---|---|
abstract OperationContext.OperationCode |
getOperationCode()
Return the operation code associated with the
OperationContext
object. |
boolean |
isClientUpdate()
True if the context is created before sending the updates to a client.
|
boolean |
isClientUpdate(OperationContext context)
Deprecated.
|
abstract boolean |
isPostOperation()
True if the context is for post-operation.
|
public abstract OperationContext.OperationCode getOperationCode()
OperationContext
object.public abstract boolean isPostOperation()
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.public boolean isClientUpdate()
@Deprecated public boolean isClientUpdate(OperationContext context)
Copyright © 1997-2017 Pivotal Software, Inc. All rights reserved.