public class NativeTransOnsProductor extends Object implements com.aliyun.openservices.ons.api.transaction.TransactionProducer
| Constructor and Description |
|---|
NativeTransOnsProductor(com.ohaotian.plugin.cache.CacheService cacheService)
适用场景: 调用方式: 业务逻辑说明 |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isClosed() |
boolean |
isStarted() |
com.aliyun.openservices.ons.api.SendResult |
send(com.aliyun.openservices.ons.api.Message message,
com.aliyun.openservices.ons.api.transaction.LocalTransactionExecuter executer,
Object arg) |
void |
shutdown() |
void |
start() |
public NativeTransOnsProductor(com.ohaotian.plugin.cache.CacheService cacheService)
cacheService - public boolean isStarted()
isStarted in interface com.aliyun.openservices.ons.api.Adminpublic boolean isClosed()
isClosed in interface com.aliyun.openservices.ons.api.Adminpublic void start()
start in interface com.aliyun.openservices.ons.api.transaction.TransactionProducerpublic void shutdown()
shutdown in interface com.aliyun.openservices.ons.api.transaction.TransactionProducerpublic com.aliyun.openservices.ons.api.SendResult send(com.aliyun.openservices.ons.api.Message message,
com.aliyun.openservices.ons.api.transaction.LocalTransactionExecuter executer,
Object arg)
send in interface com.aliyun.openservices.ons.api.transaction.TransactionProducerCopyright © 2018. All rights reserved.