com.alipay.remoting.rpc.protocol
Class RpcHeartbeatTrigger
java.lang.Object
com.alipay.remoting.rpc.protocol.RpcHeartbeatTrigger
- All Implemented Interfaces:
- HeartbeatTrigger
public class RpcHeartbeatTrigger
- extends Object
- implements HeartbeatTrigger
Handler for heart beat.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
maxCount
public static final Integer maxCount
- max trigger times
RpcHeartbeatTrigger
public RpcHeartbeatTrigger(CommandFactory commandFactory)
heartbeatTriggered
public void heartbeatTriggered(io.netty.channel.ChannelHandlerContext ctx)
throws Exception
- Specified by:
heartbeatTriggered in interface HeartbeatTrigger
- Throws:
Exception- See Also:
HeartbeatTrigger.heartbeatTriggered(io.netty.channel.ChannelHandlerContext)
Copyright © 2018. All rights reserved.