T - P - public abstract class AbstractSyncAsyncMessageBus<T,P extends ISyncAsyncPublicationCommand> extends AbstractPubSubSupport<T> implements IMessageBus<T,P>
| Modifier and Type | Method and Description |
|---|---|
Executor |
getExecutor()
Get the executor service that is used for asynchronous message publications.
|
boolean |
hasPendingMessages()
Check whether any asynchronous message publications are pending to be processed
|
void |
shutdown()
Shutdown the bus such that it will stop delivering asynchronous messages.
|
addErrorHandler, getRegisteredErrorHandlers, getRuntime, handlePublicationError, subscribe, unsubscribeequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpostpublish, subscribe, unsubscribegetRuntimeaddErrorHandler, getRegisteredErrorHandlerspublic void shutdown()
IMessageBusshutdown in interface IMessageBus<T,P extends ISyncAsyncPublicationCommand>public boolean hasPendingMessages()
IMessageBushasPendingMessages in interface IMessageBus<T,P extends ISyncAsyncPublicationCommand>public Executor getExecutor()
IMessageBusgetExecutor in interface IMessageBus<T,P extends ISyncAsyncPublicationCommand>Copyright © 2014. All rights reserved.