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
-
-
Constructor Summary
Constructors Constructor Description ServicesQueryPlusStatement(String sAction)
Construct a ServicesQueryPlusStatement that will execute the specified service command action.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StatementResult
dumpServiceInfo(ExecutionContext ctx)
Return information about the current set of Coherence services.StatementResult
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, showPlan
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.tangosol.coherence.dslquery.Statement
executeAsync, isManagingTimeout
-
-
-
-
Field Detail
-
f_sAction
protected final String f_sAction
Flag indicating whether this command turns sanity checking on or off.
-
-
Constructor Detail
-
ServicesQueryPlusStatement
public ServicesQueryPlusStatement(String sAction)
Construct a ServicesQueryPlusStatement that will execute the specified service command action.- Parameters:
sAction
- the action this statement will perform
-
-
Method Detail
-
execute
public StatementResult execute(ExecutionContext ctx)
Description copied from interface:Statement
Execute a CohQL query or command and return the relevantresult
.- Parameters:
ctx
- thecontext
to use- Returns:
- a StatementResult containing the results of executing the statement
-
dumpServiceInfo
public StatementResult dumpServiceInfo(ExecutionContext ctx)
Return information about the current set of Coherence services.- Parameters:
ctx
- theExecutionContext
to use to obtain the current CoherenceCluster
- Returns:
- information about the current set of Coherence services
-
-