public class ProtectedExecutionHandler
extends org.jboss.netty.handler.execution.ExecutionHandler
| 限定符和类型 | 方法和说明 |
|---|---|
void |
handleUpstream(org.jboss.netty.channel.ChannelHandlerContext context,
org.jboss.netty.channel.ChannelEvent e)
if RejectedExecutionException happen, send 503 exception to client
|
public void handleUpstream(org.jboss.netty.channel.ChannelHandlerContext context,
org.jboss.netty.channel.ChannelEvent e)
throws Exception
handleUpstream 在接口中 org.jboss.netty.channel.ChannelUpstreamHandlerhandleUpstream 在类中 org.jboss.netty.handler.execution.ExecutionHandlerExceptionCopyright © 2021. All rights reserved.