| 限定符和类型 | 字段和说明 |
|---|---|
protected String |
ackSql |
protected String |
expiredSql |
protected String |
loadedSql |
protected String |
loadSql |
protected String |
resetLoadTimeSql |
protected String |
sendSql |
| 构造器和说明 |
|---|
RowIdDbSendPackScanner(ConnectionFactory connectionFactory,
ExceptionBiFunction<String,ResultSet,Pack> packFactory,
ISender<Pack> realSender) |
protected String resetLoadTimeSql
protected String loadSql
protected String loadedSql
protected String sendSql
protected String ackSql
protected String expiredSql
public RowIdDbSendPackScanner(ConnectionFactory connectionFactory, ExceptionBiFunction<String,ResultSet,Pack> packFactory, ISender<Pack> realSender)
connectionFactory - 获取连接packFactory - ResultSet转换成PackrealSender - 触发重发动作public RowIdDbSendPackScanner<Pack,AckPack> sendTable(String sendTable)
sendTable - 如果出现多个发送表,可以通过本方法修改发送表名public void start()
public void acceptAck(AckPack busPackAck)
busPackAck - busPackAckpublic void notifyRecheck()
Copyright © 2022. All rights reserved.