类 com.taobao.metamorphosis.utils.IdWorker
的使用

使用 IdWorker 的软件包
com.taobao.metamorphosis.gregor.master   
com.taobao.metamorphosis.gregor.slave   
com.taobao.metamorphosis.server.assembly   
 

com.taobao.metamorphosis.gregor.masterIdWorker 的使用
 

参数类型为 IdWorkercom.taobao.metamorphosis.gregor.master 中的构造方法
SamsaCommandProcessor(MessageStoreManager storeManager, ExecutorsManager executorsManager, StatsManager statsManager, com.taobao.gecko.service.RemotingServer remotingServer, MetaConfig metaConfig, IdWorker idWorker, BrokerZooKeeper brokerZooKeeper, com.taobao.gecko.service.RemotingClient remotingClient, ConsumerFilterManager consumerFilterManager, String slave, int callbackThreadCount, long sendToSlaveTimeoutInMills, long checkSlaveIntervalInMills, int slaveContinuousFailureThreshold)
           
 

com.taobao.metamorphosis.gregor.slaveIdWorker 的使用
 

参数类型为 IdWorkercom.taobao.metamorphosis.gregor.slave 中的构造方法
GregorCommandProcessor(MessageStoreManager storeManager, ExecutorsManager executorsManager, StatsManager statsManager, com.taobao.gecko.service.RemotingServer remotingServer, MetaConfig metaConfig, IdWorker idWorker, BrokerZooKeeper brokerZooKeeper, ConsumerFilterManager consumerFilterManager)
           
 

com.taobao.metamorphosis.server.assemblyIdWorker 的使用
 

声明为 IdWorkercom.taobao.metamorphosis.server.assembly 中的字段
protected  IdWorker BrokerCommandProcessor.idWorker
           
 

返回 IdWorkercom.taobao.metamorphosis.server.assembly 中的方法
 IdWorker MetaMorphosisBroker.getIdWorker()
           
 IdWorker BrokerCommandProcessor.getIdWorker()
           
 

参数类型为 IdWorkercom.taobao.metamorphosis.server.assembly 中的方法
 void BrokerCommandProcessor.setIdWorker(IdWorker idWorker)
           
 

参数类型为 IdWorkercom.taobao.metamorphosis.server.assembly 中的构造方法
BrokerCommandProcessor(MessageStoreManager storeManager, ExecutorsManager executorsManager, StatsManager statsManager, com.taobao.gecko.service.RemotingServer remotingServer, MetaConfig metaConfig, IdWorker idWorker, BrokerZooKeeper brokerZooKeeper, ConsumerFilterManager consumerFilterManager)
           
TransactionalCommandProcessor(MetaConfig metaConfig, MessageStoreManager storeManager, IdWorker idWorker, CommandProcessor next, TransactionStore transactionStore, StatsManager stasManager)
           
 



Copyright © 2010–2013. All rights reserved.