
public class OrderProducerImpl extends ONSClientAbstract implements OrderProducer
nameServerAddr, 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() |
buildIntanceName, checkONSProducerServiceState, fetchNameServerAddr, getNameServerAddr, isClosed, isStartedpublic OrderProducerImpl(Properties properties)
public void shutdown()
shutdown in interface Adminshutdown in class ONSClientAbstractpublic SendResult send(Message message, String shardingKey)
send in interface OrderProducerCopyright © 2012–2017. All rights reserved.