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

构造方法摘要
VersionProcessor(CommandProcessor processor)
           
 
方法摘要
 ThreadPoolExecutor getExecutor()
           
 void handleRequest(com.taobao.gecko.core.command.kernel.HeartBeatRequestCommand request, com.taobao.gecko.service.Connection conn)
           
 
从类 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.