Package akka.http.impl.engine.server
Interface ServerTerminator
-
- All Known Implementing Classes:
GracefulTerminatorStage.ConnectionTerminator
,MasterServerTerminator
public interface ServerTerminator
INTERNAL API: Used to start the termination process of an Akka HTTP server.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description scala.concurrent.Future<Http.HttpTerminated>
terminate(scala.concurrent.duration.FiniteDuration deadline, scala.concurrent.ExecutionContext ex)
Initiate the termination sequence of this server.
-
-
-
Method Detail
-
terminate
scala.concurrent.Future<Http.HttpTerminated> terminate(scala.concurrent.duration.FiniteDuration deadline, scala.concurrent.ExecutionContext ex)
Initiate the termination sequence of this server.- Parameters:
deadline
- (undocumented)ex
- (undocumented)- Returns:
- (undocumented)
-
-