com.taobao.metamorphosis.gregor.slave
类 SyncProcessor

java.lang.Object
  继承者 com.taobao.metamorphosis.gregor.slave.SyncProcessor
所有已实现的接口:
com.taobao.gecko.service.RequestProcessor<SyncCommand>

public class SyncProcessor
extends Object
implements com.taobao.gecko.service.RequestProcessor<SyncCommand>

sync命令的网络处理器

作者:
boyan(boyan@taobao.com)

构造方法摘要
SyncProcessor(SyncCommandProcessor processor, OrderedThreadPoolExecutor executor)
           
 
方法摘要
 ThreadPoolExecutor getExecutor()
           
 void handleRequest(SyncCommand request, com.taobao.gecko.service.Connection conn)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

SyncProcessor

public SyncProcessor(SyncCommandProcessor processor,
                     OrderedThreadPoolExecutor executor)
方法详细信息

getExecutor

public ThreadPoolExecutor getExecutor()
指定者:
接口 com.taobao.gecko.service.RequestProcessor<SyncCommand> 中的 getExecutor

handleRequest

public void handleRequest(SyncCommand request,
                          com.taobao.gecko.service.Connection conn)
指定者:
接口 com.taobao.gecko.service.RequestProcessor<SyncCommand> 中的 handleRequest


Copyright © 2010–2013. All rights reserved.