public class AsyncEventBus extends AbstractEventBus<ProcessContext>
| Constructor and Description |
|---|
AsyncEventBus() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
offer(ProcessContext context)
insert add element into bus
|
void |
setThreadPoolExecutor(ThreadPoolExecutor threadPoolExecutor) |
getEventConsumers, registerEventConsumerpublic boolean offer(ProcessContext context) throws FrameworkException
EventBuscontext - the eventFrameworkException - the framework exceptionpublic void setThreadPoolExecutor(ThreadPoolExecutor threadPoolExecutor)
Copyright © 2023 Seata. All rights reserved.