Class NettyServerHandler.GracefulShutdown
java.lang.Object
io.grpc.netty.NettyServerHandler.GracefulShutdown
- Enclosing class:
NettyServerHandler
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate longgraceTimeOverrideMillis(long originalMillis) (package private) voidsecondGoAwayAndClose(io.netty.channel.ChannelHandlerContext ctx) (package private) voidstart(io.netty.channel.ChannelHandlerContext ctx) Sends out first GOAWAY and ping, and schedules second GOAWAY and close.
-
Field Details
-
Constructor Details
-
GracefulShutdown
-
-
Method Details
-
start
void start(io.netty.channel.ChannelHandlerContext ctx) Sends out first GOAWAY and ping, and schedules second GOAWAY and close. -
secondGoAwayAndClose
void secondGoAwayAndClose(io.netty.channel.ChannelHandlerContext ctx) -
graceTimeOverrideMillis
private long graceTimeOverrideMillis(long originalMillis)
-