public CancelCriterion getCancelCriterion() {
    return stopper;
  }
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