com.gemstone.gemfire.cache.operations
Class StopCQOperationContext
java.lang.Object
com.gemstone.gemfire.cache.operations.OperationContext
com.gemstone.gemfire.cache.operations.QueryOperationContext
com.gemstone.gemfire.cache.operations.ExecuteCQOperationContext
com.gemstone.gemfire.cache.operations.StopCQOperationContext
public class StopCQOperationContext
- extends ExecuteCQOperationContext
Encapsulates a OperationContext.OperationCode.STOP_CQ operation for the pre-operation
case.
- Since:
- 5.5
StopCQOperationContext
public StopCQOperationContext(String cqName,
String queryString,
Set regionNames)
- Constructor for the STOP_CQ operation.
- Parameters:
cqName - the name of the continuous query being stoppedqueryString - the query string for this operationregionNames - names of regions that are part of the query string
getOperationCode
public OperationContext.OperationCode getOperationCode()
- Return the operation associated with the
OperationContext
object.
- Overrides:
getOperationCode in class ExecuteCQOperationContext
- Returns:
OperationCode.STOP_CQ.
isPostOperation
public boolean isPostOperation()
- True if the context is for post-operation.
- Overrides:
isPostOperation in class QueryOperationContext
Copyright © 2002-2008 GemStone Systems, Inc. All Rights Reserved.