Package io.trino.server.testing
Class TestingTrinoServer.TestShutdownAction
- java.lang.Object
-
- io.trino.server.testing.TestingTrinoServer.TestShutdownAction
-
- All Implemented Interfaces:
ShutdownAction
- Enclosing class:
- TestingTrinoServer
public static class TestingTrinoServer.TestShutdownAction extends Object implements ShutdownAction
-
-
Constructor Summary
Constructors Constructor Description TestShutdownAction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisWorkerShutdown()voidonShutdown()voidwaitForShutdownComplete(long millis)
-
-
-
Method Detail
-
onShutdown
public void onShutdown()
- Specified by:
onShutdownin interfaceShutdownAction
-
waitForShutdownComplete
public void waitForShutdownComplete(long millis) throws InterruptedException- Throws:
InterruptedException
-
isWorkerShutdown
public boolean isWorkerShutdown()
-
-