Interface ServerProcess.ServerRunnable

Enclosing class:
ServerProcess
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface ServerProcess.ServerRunnable
Functional interface encapsulating method which code runs upon satisfaction of a condition
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    run(org.wildfly.extras.creaper.core.online.OnlineManagementClient managementClient)
    Run a code with started server.
  • Method Details

    • run

      void run(org.wildfly.extras.creaper.core.online.OnlineManagementClient managementClient) throws IOException, org.wildfly.extras.creaper.core.online.operations.OperationException, InterruptedException
      Run a code with started server. The management client will be closed on upper level. Do not close it manually.
      Parameters:
      managementClient - online management client connected to a running server
      Throws:
      IOException
      org.wildfly.extras.creaper.core.online.operations.OperationException
      InterruptedException