VMware GemFire Java API Reference
Class StopCQOperationContext
- java.lang.Object
-
- org.apache.geode.cache.operations.OperationContext
-
- org.apache.geode.cache.operations.QueryOperationContext
-
- org.apache.geode.cache.operations.ExecuteCQOperationContext
-
- org.apache.geode.cache.operations.StopCQOperationContext
-
@Deprecated public class StopCQOperationContext extends ExecuteCQOperationContext
Deprecated.since Geode1.0, useResourcePermissioninsteadEncapsulates aOperationContext.OperationCode.STOP_CQoperation for the pre-operation case.- Since:
- GemFire 5.5
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.geode.cache.operations.OperationContext
OperationContext.OperationCode
-
-
Constructor Summary
Constructors Constructor Description StopCQOperationContext(java.lang.String cqName, java.lang.String queryString, java.util.Set regionNames)Deprecated.Constructor for the STOP_CQ operation.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description OperationContext.OperationCodegetOperationCode()Deprecated.Return the operation associated with theOperationContextobject.booleanisPostOperation()Deprecated.True if the context is for post-operation.-
Methods inherited from class org.apache.geode.cache.operations.ExecuteCQOperationContext
getName
-
Methods inherited from class org.apache.geode.cache.operations.QueryOperationContext
getQuery, getQueryParams, getQueryResult, getRegionNames, modifyQuery, setPostOperation, setQueryResult, setRegionNames
-
Methods inherited from class org.apache.geode.cache.operations.OperationContext
isClientUpdate, isClientUpdate
-
-
-
-
Constructor Detail
-
StopCQOperationContext
public StopCQOperationContext(java.lang.String cqName, java.lang.String queryString, java.util.Set regionNames)Deprecated.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
-
-
Method Detail
-
getOperationCode
public OperationContext.OperationCode getOperationCode()
Deprecated.Return the operation associated with theOperationContextobject.- Overrides:
getOperationCodein classExecuteCQOperationContext- Returns:
OperationCode.STOP_CQ.
-
isPostOperation
public boolean isPostOperation()
Deprecated.True if the context is for post-operation.- Overrides:
isPostOperationin classQueryOperationContext- Returns:
- whether the context is for post-operation
-
-