Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-3778

The EmbeddedManagedProcess should have a start method which accepts a timeout for the server to start

    XMLWordPrintable

    Details

    • Type: Feature Request
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Embedded
    • Labels:
      None

      Description

      Currently the EmbeddedManagedProcess, which both the StandaloneServer and HostController extend, only contains a start() method which immediately returns. There should be a start(int timeout) which will wait the specified amount of time then throw an exception is the server was not successfully started within that time. A timeout of 0 or less would mean no timeout was specified and the start() method should just return immediately.

      This could also be a setting on the new Configuration API so the default start() method would have a timeout associated with it. A value of 0 should be the default so there are no behavioral changes.

        Attachments

          Activity

            People

            Assignee:
            jamezp James Perkins
            Reporter:
            jamezp James Perkins
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: