com.taobao.metamorphosis.server.network
类 TransactionProcessor

java.lang.Object
  继承者 com.taobao.metamorphosis.server.network.TransactionProcessor
所有已实现的接口:
com.taobao.gecko.service.RequestProcessor<TransactionCommand>

public class TransactionProcessor
extends Object
implements com.taobao.gecko.service.RequestProcessor<TransactionCommand>

事务命令处理器

作者:
boyan(boyan@taobao.com)

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

构造方法详细信息

TransactionProcessor

public TransactionProcessor(CommandProcessor processor,
                            ThreadPoolExecutor executor)
方法详细信息

handleRequest

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

getExecutor

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


Copyright © 2010–2013. All rights reserved.