public class MongodbSyncToMicroservice extends AbstractMongodbChangeSupport
| 限定符和类型 | 字段和说明 |
|---|---|
protected String |
m_DbName
数据库名
|
protected Flusher |
m_Fusher |
protected cn.weforward.protocol.client.ServiceInvoker |
m_Invoker
调整器
|
protected String |
m_MethodGroup
方法组
|
protected String |
m_TargetDbName
目标数据库
|
| 构造器和说明 |
|---|
MongodbSyncToMicroservice(String url,
String dbname,
String targetDbName,
String preUrl,
String accessId,
String accessKey,
String serviceName) |
| 限定符和类型 | 方法和说明 |
|---|---|
cn.weforward.protocol.client.ServiceInvoker |
getInvoker() |
String |
getMethodGroup() |
protected void |
onChange(com.mongodb.client.model.changestream.ChangeStreamDocument<org.bson.Document> doc) |
void |
setFusher(Flusher fusher) |
void |
setMethodGroup(String v) |
isDead, restart, run, setMaxAwaitTime, start, stopprotected String m_TargetDbName
protected cn.weforward.protocol.client.ServiceInvoker m_Invoker
protected String m_DbName
protected String m_MethodGroup
protected Flusher m_Fusher
public void setFusher(Flusher fusher)
public void setMethodGroup(String v)
public cn.weforward.protocol.client.ServiceInvoker getInvoker()
public String getMethodGroup()
protected void onChange(com.mongodb.client.model.changestream.ChangeStreamDocument<org.bson.Document> doc)
onChange 在类中 AbstractMongodbChangeSupportCopyright © 2022. All rights reserved.