<code>optional .alluxio.grpc.job.CancelPOptions options = 2;</code>
508900
public alluxio.grpc.CancelPOptions getOptions() {
    return options_ == null ? alluxio.grpc.CancelPOptions.getDefaultInstance() : options_;
  }
745402
public alluxio.grpc.FreePOptions getOptions() {
    return options_ == null ? alluxio.grpc.FreePOptions.getDefaultInstance() : options_;
  }
49389
public alluxio.grpc.RemovePathConfigurationPOptionsOrBuilder getOptionsOrBuilder() {
    return options_ == null ? alluxio.grpc.RemovePathConfigurationPOptions.getDefaultInstance() : options_;
  }
967919
@Override
    protected void cancelFaxJobImpl(FaxJob faxJob)
    {
        //create command
        String command=this.createCancelFaxJobProcessCommand(faxJob);
        
        //execute command
        this.executeProcess(faxJob,command,FaxActionType.CANCEL_FAX_JOB);
    }
978037
public alluxio.grpc.RemovePathConfigurationPOptions getOptions() {
    return options_ == null ? alluxio.grpc.RemovePathConfigurationPOptions.getDefaultInstance() : options_;
  }
633321
public void cancelAllReservations() {
    // Inform jobs which have reserved slots on this tasktracker
    if (jobForFallowMapSlot != null) {
      unreserveSlots(TaskType.MAP, jobForFallowMapSlot);
    }
    if (jobForFallowReduceSlot != null) {
      unreserveSlots(TaskType.REDUCE, jobForFallowReduceSlot);
    }
  }
554474
public alluxio.grpc.GetPinnedFileIdsPOptions getOptions() {
    return options_ == null ? alluxio.grpc.GetPinnedFileIdsPOptions.getDefaultInstance() : options_;
  }
732157
public alluxio.grpc.GetMasterIdPOptions getOptions() {
    return options_ == null ? alluxio.grpc.GetMasterIdPOptions.getDefaultInstance() : options_;
  }
884001
@Override
    protected void cancelFaxJobImpl(FaxJob faxJob)
    {
        String name=VBSFaxClientSpi.VBS_WIN_XP_CANCEL_SCRIPT;
        if(this.useWin2kAPI)
        {
            name=VBSFaxClientSpi.VBS_WIN_2K_CANCEL_SCRIPT;
        }

        //invoke script
        this.invokeExistingFaxJobAction(name,faxJob,FaxActionType.CANCEL_FAX_JOB);
    }
1102165
public alluxio.grpc.GetUfsInfoPOptionsOrBuilder getOptionsOrBuilder() {
    return options_ == null ? alluxio.grpc.GetUfsInfoPOptions.getDefaultInstance() : options_;
  }
658267
public alluxio.grpc.CheckConsistencyPOptionsOrBuilder getOptionsOrBuilder() {
    return options_ == null ? alluxio.grpc.CheckConsistencyPOptions.getDefaultInstance() : options_;
  }
1232754
public JobTerminateOptions withOcpDate(DateTime ocpDate) {
        if (ocpDate == null) {
            this.ocpDate = null;
        } else {
            this.ocpDate = new DateTimeRfc1123(ocpDate);
        }
        return this;
    }
485709
@Override
  public final void abortJob(org.apache.hadoop.mapreduce.JobContext context, 
                          org.apache.hadoop.mapreduce.JobStatus.State runState) 
  throws IOException {
    int state = JobStatus.getOldNewJobRunState(runState);
    if (state != JobStatus.FAILED && state != JobStatus.KILLED) {
      throw new IOException ("Invalid job run state : " + runState.name());
    }
    abortJob((JobContext) context, state);
  }
882310
@Override
  public final void cancel(final Map<String, Object> pRqVs,
    final CustOrder pCuOr, final EOrdStat pStat) throws Exception {
    Set<String> ndFl = new HashSet<String>();
    String tbn = CustOrderGdLn.class.getSimpleName();
    ndFl.add("itsId");
    ndFl.add("quant");
    ndFl.add("good");
    pRqVs.put(tbn + "neededFields", ndFl);
    pRqVs.put(tbn + "gooddeepLevel", 1);
    List<CustOrderGdLn> gds = this.srvOrm.retrieveListWithConditions(
      pRqVs, CustOrderGdLn.class, "where ITSOWNER=" + pCuOr.getItsId());
    pRqVs.remove(tbn + "neededFields");
    pRqVs.remove(tbn + "gooddeepLevel");
    ColumnsValues cvsIil = new ColumnsValues();
    cvsIil.getFormula().add("availableQuantity");
    for (CustOrderGdLn gl : gds) {
      List<GoodsPlace> gps = getSrvOrm().retrieveListWithConditions(pRqVs,
        GoodsPlace.class, "where ISALWAYS=0 and ITEM="
          + gl.getGood().getItsId());
      if (gps.size() > 0) {
        gps.get(0)
          .setItsQuantity(gps.get(0).getItsQuantity().add(gl.getQuant()));
        getSrvOrm().updateEntity(pRqVs, gps.get(0));
        cvsIil.put("itsVersion", new Date().getTime());
        cvsIil.put("availableQuantity", "AVAILABLEQUANTITY+" + gl.getQuant());
        this.srvDb.executeUpdate("ITEMINLIST", cvsIil,
          "ITSTYPE=0 and ITEMID=" + gps.get(0).getItem().getItsId());
      }
    }
    tbn = CustOrderSrvLn.class.getSimpleName();
    ndFl.remove("good");
    ndFl.add("service");
    ndFl.add("dt1");
    ndFl.add("dt2");
    pRqVs.put(tbn + "neededFields", ndFl);
    pRqVs.put(tbn + "gooddeepLevel", 1);
    List<CustOrderSrvLn> sls = this.srvOrm.retrieveListWithConditions(
      pRqVs, CustOrderSrvLn.class, "where ITSOWNER=" + pCuOr.getItsId());
    pRqVs.remove(tbn + "neededFields");
    pRqVs.remove(tbn + "gooddeepLevel");
    for (CustOrderSrvLn sl : sls) {
      if (sl.getDt1() == null) { //non-bookable:
        List<ServicePlace> sps = getSrvOrm().retrieveListWithConditions(pRqVs,
          ServicePlace.class, "where ISALWAYS=0 and ITEM=" + sl.getService()
            .getItsId());
        if (sps.size() > 0) {
          sps.get(0)
            .setItsQuantity(sps.get(0).getItsQuantity().add(sl.getQuant()));
          getSrvOrm().updateEntity(pRqVs, sps.get(0));
          cvsIil.put("itsVersion", new Date().getTime());
          cvsIil.put("availableQuantity", "AVAILABLEQUANTITY+" + sl.getQuant());
          this.srvDb.executeUpdate("ITEMINLIST", cvsIil,
            "ITSTYPE=1 and ITEMID=" + sps.get(0).getItem().getItsId());
        }
      } else { //bookable:
        List<SerBus> sebs = getSrvOrm().retrieveListWithConditions(pRqVs,
      SerBus.class, "where FRE=0 and SERV=" + sl.getService().getItsId()
+ " and FRTM=" + sl.getDt1().getTime() + " and TITM=" + sl.getDt1().getTime());
        if (sebs.size() == 1) {
          sebs.get(0).setFre(true);
          getSrvOrm().updateEntity(pRqVs, sebs.get(0));
        } else if (sebs.size() > 1) {
          this.log.error(pRqVs, CncOrd.class,
        "Several SERBUS for booked service: " + sl.getService().getItsId()
      + "/"  + sl.getDt1().getTime() + "/" + sl.getDt1().getTime());
          for (SerBus seb : sebs) {
            seb.setFre(true);
            getSrvOrm().updateEntity(pRqVs, seb);
          }
        } else {
          this.log.error(pRqVs, CncOrd.class,
        "There is no SERBUS for booked service: " + sl.getService().getItsId()
      + "/"  + sl.getDt1().getTime() + "/" + sl.getDt1().getTime());
        }
      }
    }
    String[] fieldsNames = new String[] {"itsId", "itsVersion", "stat"};
    pRqVs.put("fieldsNames", fieldsNames);
    pCuOr.setStat(pStat);
    getSrvOrm().updateEntity(pRqVs, pCuOr);
    pRqVs.remove("fieldsNames");
  }
1355874
public alluxio.grpc.RegisterMasterPOptionsOrBuilder getOptionsOrBuilder() {
    return options_ == null ? alluxio.grpc.RegisterMasterPOptions.getDefaultInstance() : options_;
  }
508538
public synchronized void cancel() {
    for (int taskId : mJobInfo.getTaskIdList()) {
      mCommandManager.submitCancelTaskCommand(mJobInfo.getId(), taskId,
          mTaskIdToWorkerInfo.get(taskId).getId());
    }
  }
926760
public alluxio.grpc.JobHeartbeatPOptionsOrBuilder getOptionsOrBuilder() {
    return options_ == null ? alluxio.grpc.JobHeartbeatPOptions.getDefaultInstance() : options_;
  }