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.
Functional interface encapsulating method which code runs upon satisfaction of a condition
-
Method Summary
Modifier and TypeMethodDescriptionvoidrun(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:
IOExceptionorg.wildfly.extras.creaper.core.online.operations.OperationExceptionInterruptedException
-