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