private void invokeAfter(Object object) {
    if (object == null) {
      return;
    }

    if (autoClose.get()) {
      autoClose(object);
    }
  }
Sets to the given value.

@param newValue the new value
@return a reference to this DistributedReference
geode-dunit/src/main/java/org/apache/geode/test/dunit/rules/DistributedReference.java