Tabnine Logo
ManagedProcess$1
Code IndexAdd Tabnine to your IDE (free)

How to use
ManagedProcess$1
in
org.jboss.as.process

Best Java code snippets using org.jboss.as.process.ManagedProcess$1 (Showing top 3 results out of 1,395)

origin: org.jboss.as/jboss-as-process-controller

public void shutdown() {
  synchronized (lock) {
    if(shutdown) {
      return;
    }
    shutdown = true;
    if (state == State.STARTED) {
      log.stoppingProcess(processName);
      stopRequested = true;
      StreamUtils.safeClose(stdin);
      state = State.STOPPING;
    } else if (state == State.STOPPING) {
      return;
    } else {
      new Thread() {
        @Override
        public void run() {
          processController.removeProcess(processName);
        }
      }.start();
    }
  }
}
origin: org.wildfly.core/wildfly-process-controller

public void shutdown() {
  synchronized (lock) {
    if(shutdown) {
      return;
    }
    shutdown = true;
    if (state == State.STARTED) {
      log.stoppingProcess(processName);
      stopRequested = true;
      StreamUtils.safeClose(stdin);
      state = State.STOPPING;
    } else if (state == State.STOPPING) {
      return;
    } else {
      new Thread() {
        @Override
        public void run() {
          processController.removeProcess(processName);
        }
      }.start();
    }
  }
}
origin: wildfly/wildfly-core

public void shutdown() {
  synchronized (lock) {
    if(shutdown) {
      return;
    }
    shutdown = true;
    if (state == State.STARTED) {
      log.stoppingProcess(processName);
      stopRequested = true;
      StreamUtils.safeClose(stdin);
      state = State.STOPPING;
    } else if (state == State.STOPPING) {
      return;
    } else {
      new Thread() {
        @Override
        public void run() {
          processController.removeProcess(processName);
        }
      }.start();
    }
  }
}
org.jboss.as.processManagedProcess$1

Most used methods

  • start

Popular in Java

  • Making http post requests using okhttp
  • setScale (BigDecimal)
  • onRequestPermissionsResult (Fragment)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • Kernel (java.awt.image)
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • Manifest (java.util.jar)
    The Manifest class is used to obtain attribute information for a JarFile and its entries.
  • HttpServletRequest (javax.servlet.http)
    Extends the javax.servlet.ServletRequest interface to provide request information for HTTP servlets.
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now