@Override
    public String cancelInProgress() {
      String cancelInProgressString =
          dls.getDistributionManager().getCancelCriterion().cancelInProgress();
      if (cancelInProgressString != null) {
        // delegate to underlying DM's CancelCriterion...
        return cancelInProgressString;
      } else if (dls.isDestroyed()) {
        // this.stoppedByDLS = true;
        return dls.generateLockServiceDestroyedMessage();
      } else {
        // return null since neither DM nor DLS are shutting down
        // cannot call super.cancelInProgress because it's abstract
        return null;
      }
    }
Creates a new DLockStopper for the specified DLockService and DM.

@param dls the DLockService to check for DLS destroy
geode-core/src/main/java/org/apache/geode/distributed/internal/locks/DLockService.java