
public class TransactionProducerImpl extends ONSClientAbstract implements TransactionProducer
nameServerAddr, namespaceId, sessionCredentials, started, traceDispatcher, WSADDR_INTERNAL, WSADDR_INTERNAL_TIMEOUTMILLS, WSADDR_INTERNET, WSADDR_INTERNET_TIMEOUTMILLS| Constructor and Description |
|---|
TransactionProducerImpl(Properties properties,
com.alibaba.rocketmq.client.producer.TransactionCheckListener transactionCheckListener) |
| Modifier and Type | Method and Description |
|---|---|
SendResult |
send(Message message,
LocalTransactionExecuter executer,
Object arg) |
void |
shutdown() |
void |
start() |
protected void |
updateNameServerAddr(String newAddrs) |
buildIntanceName, checkONSProducerServiceState, getNameServerAddr, getNamespace, isClosed, isStarted, updateCredentialclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisClosed, isStarted, updateCredentialpublic TransactionProducerImpl(Properties properties, com.alibaba.rocketmq.client.producer.TransactionCheckListener transactionCheckListener)
public void start()
start in interface Adminstart in interface TransactionProducerstart in class ONSClientAbstractprotected void updateNameServerAddr(String newAddrs)
updateNameServerAddr in class ONSClientAbstractpublic void shutdown()
shutdown in interface Adminshutdown in interface TransactionProducershutdown in class ONSClientAbstractpublic SendResult send(Message message, LocalTransactionExecuter executer, Object arg)
send in interface TransactionProducerCopyright © 2012–2021. All rights reserved.