default ServiceResult<SuccessType> ifSuccessful(Consumer<? super SuccessType> consumer) {
    return this;
  }
Executes the provided {@link Consumer} if this {@link ServiceResult} is a success.

@param consumer the {@link Consumer} to be executed on success.
@return this {@link ServiceResult}
geode-core/src/main/java/org/apache/geode/services/result/ServiceResult.java