| 限定符和类型 | 字段和说明 |
|---|---|
protected int |
deleteNum |
protected int |
insertNum |
protected org.slf4j.Logger |
log |
protected YesOrNo |
multiThread |
protected int |
querySize |
protected YesOrNo |
sendByTable |
protected long |
sendTimes |
protected boolean |
serialize |
protected String |
splitKey |
protected int |
tableNum |
protected String |
taskId |
protected int |
threadNum |
protected int |
updateNum |
| 构造器和说明 |
|---|
AbsSender() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected long |
getGtidOrder(SendBean sendBean)
得到grid值 4f6e51f7-fbd1-11e5-b795-008cfae412f8:1-32403796 得到 32403796
|
SendMoniter |
getMoniter()
得到监控对象
|
void |
init(org.slf4j.Logger log,
String taskId,
Map<String,String> params) |
void |
initMoniter(SendMoniter sendMoniter) |
abstract void |
initSub(Map<String,String> params) |
Result |
sendMsg(SendBean sendBean) |
abstract Result |
sendMsgSub(SendBean sendBean) |
protected List<SendBean> |
spilSendBean(SendBean sendBean) |
protected org.slf4j.Logger log
protected String taskId
protected boolean serialize
protected YesOrNo multiThread
protected int threadNum
protected int querySize
protected int tableNum
protected String splitKey
protected YesOrNo sendByTable
protected volatile int insertNum
protected volatile int updateNum
protected volatile int deleteNum
protected volatile long sendTimes
public SendMoniter getMoniter()
getMoniter 在接口中 ISenderpublic void initMoniter(SendMoniter sendMoniter)
initMoniter 在接口中 ISenderprotected long getGtidOrder(SendBean sendBean)
sendBean - Copyright © 2017. All rights reserved.