
public class OrderProducerImpl extends ONSClientAbstract implements OrderProducer
nameServerAddr, namespaceId, properties, sessionCredentials, started, traceDispatcher, WSADDR_INTERNAL, WSADDR_INTERNAL_TIMEOUTMILLS, WSADDR_INTERNET, WSADDR_INTERNET_TIMEOUTMILLS| Constructor and Description |
|---|
OrderProducerImpl(Properties properties) |
| Modifier and Type | Method and Description |
|---|---|
SendResult |
send(Message message,
String shardingKey) |
void |
shutdown() |
void |
start() |
protected void |
updateNameServerAddr(String newAddrs) |
buildIntanceName, checkONSProducerServiceState, executePostHandle, getNameServerAddr, getNamespace, isClosed, isStarted, preHandle, updateCredentialclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisClosed, isStarted, updateCredentialpublic OrderProducerImpl(Properties properties)
protected void updateNameServerAddr(String newAddrs)
updateNameServerAddr in class ONSClientAbstractpublic void start()
start in interface Adminstart in class ONSClientAbstractpublic void shutdown()
shutdown in interface Adminshutdown in class ONSClientAbstractpublic SendResult send(Message message, String shardingKey)
send in interface OrderProducerCopyright © 2012–2022. All rights reserved.