Class ServicesStatementBuilder.ServicesQueryPlusStatement
java.lang.Object
com.tangosol.coherence.dslquery.queryplus.AbstractQueryPlusStatementBuilder.AbstractStatement
com.tangosol.coherence.dslquery.queryplus.ServicesStatementBuilder.ServicesQueryPlusStatement
- All Implemented Interfaces:
Statement
- Enclosing class:
- ServicesStatementBuilder
public class ServicesStatementBuilder.ServicesQueryPlusStatement
extends AbstractQueryPlusStatementBuilder.AbstractStatement
A class representing the "SERVICES" QueryPlus command.
- Author:
- jk 2014.03.17
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionServicesQueryPlusStatement(String sAction) Construct a ServicesQueryPlusStatement that will execute the specified service command action. -
Method Summary
Modifier and TypeMethodDescriptionReturn information about the current set of Coherence services.execute(ExecutionContext ctx) Execute a CohQL query or command and return the relevantresult.Methods inherited from class com.tangosol.coherence.dslquery.queryplus.AbstractQueryPlusStatementBuilder.AbstractStatement
getExecutionConfirmation, sanityCheck, showPlanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.tangosol.coherence.dslquery.Statement
executeAsync, isManagingTimeout
-
Field Details
-
f_sAction
Flag indicating whether this command turns sanity checking on or off.
-
-
Constructor Details
-
ServicesQueryPlusStatement
Construct a ServicesQueryPlusStatement that will execute the specified service command action.- Parameters:
sAction- the action this statement will perform
-
-
Method Details
-
execute
Description copied from interface:StatementExecute a CohQL query or command and return the relevantresult.- Parameters:
ctx- thecontextto use- Returns:
- a StatementResult containing the results of executing the statement
-
dumpServiceInfo
Return information about the current set of Coherence services.- Parameters:
ctx- theExecutionContextto use to obtain the current CoherenceCluster- Returns:
- information about the current set of Coherence services
-