Class ResumeServiceStatementBuilder.ResumeServiceStatement

java.lang.Object
com.tangosol.util.Base
com.tangosol.coherence.dslquery.statement.AbstractStatement
com.tangosol.coherence.dslquery.statement.persistence.ResumeServiceStatementBuilder.ResumeServiceStatement
All Implemented Interfaces:
Statement
Enclosing class:
ResumeServiceStatementBuilder

public static class ResumeServiceStatementBuilder.ResumeServiceStatement extends AbstractStatement
Implementation of the CohQL "RESUME SERVICE" command.
  • Constructor Details

    • ResumeServiceStatement

      public ResumeServiceStatement(String sServiceName)
      Create a ResumeServiceStatement that will resume a suspended service.
      Parameters:
      sServiceName - the service name to resume
  • Method Details

    • getExecutionConfirmation

      public String getExecutionConfirmation(ExecutionContext ctx)
      Description copied from interface: Statement
      Return a string that will be used as a question to confirm execution of a statement. If null is returned then no confirmation is required.
      Specified by:
      getExecutionConfirmation in interface Statement
      Overrides:
      getExecutionConfirmation in class AbstractStatement
      Parameters:
      ctx - the context to use
      Returns:
      a String that will be used to confirm execution of a statement
    • execute

      public StatementResult execute(ExecutionContext ctx)
      Description copied from interface: Statement
      Execute a CohQL query or command and return the relevant result.
      Parameters:
      ctx - the context to use
      Returns:
      a StatementResult containing the results of executing the statement
    • showPlan

      public void showPlan(PrintWriter out)
      Description copied from interface: Statement
      Output to the provided PrintWriter a human readable trace of the actions that will be taken by this statement if or when executed.
      Parameters:
      out - the PrintWriter to write the trace to