com.taobao.metamorphosis.server.network
类 VersionProcessor
java.lang.Object
com.taobao.metamorphosis.server.network.VersionProcessor
- 所有已实现的接口:
- com.taobao.gecko.service.RequestProcessor<com.taobao.gecko.core.command.kernel.HeartBeatRequestCommand>
public class VersionProcessor
- extends Object
- implements com.taobao.gecko.service.RequestProcessor<com.taobao.gecko.core.command.kernel.HeartBeatRequestCommand>
处理版本查询请求,替代默认的心跳处理器
- 作者:
- boyan
从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VersionProcessor
public VersionProcessor(CommandProcessor processor)
handleRequest
public void handleRequest(com.taobao.gecko.core.command.kernel.HeartBeatRequestCommand request,
com.taobao.gecko.service.Connection conn)
- 指定者:
- 接口
com.taobao.gecko.service.RequestProcessor<com.taobao.gecko.core.command.kernel.HeartBeatRequestCommand>
中的 handleRequest
getExecutor
public ThreadPoolExecutor getExecutor()
- 指定者:
- 接口
com.taobao.gecko.service.RequestProcessor<com.taobao.gecko.core.command.kernel.HeartBeatRequestCommand>
中的 getExecutor
Copyright © 2010–2013. All rights reserved.