code: public void reload(boolean adminOnly) throws Exception {
          final ModelNode request = createRequest("reload", Address.root());
          request.get("admin-only").set(adminOnly);
          final ModelNode response = execute(request);
          if (!isSuccess(response)) {
              throw new FailureException(response);
          }
          return;
      }
docs: Invokes the management "reload" operation which will shut down all the app server services and
  restart them again potentially in admin-only mode.
  This does not shutdown the JVM itself.
  
  NOTE: once this method returns, the client is probably unusable since the server side
  will probably shutdown the connection. You will need to throw away this object and rebuild
  another one with a newly reconnected {@link #getModelControllerClient() client}.
  
  @param adminOnly if <code>true</code>, reloads the server in admin-only mode
  
  @throws Exception any error