private void checkCancelled() throws IllegalStateException {
    if (cancelled) {
      throw new IllegalStateException("This timer has been cancelled.");
    }
  }
@see Timer#Timer(boolean)
@param distributedSystem the DistributedSystem to which this timer belongs
geode-core/src/main/java/org/apache/geode/internal/SystemTimer.java