T - P - public abstract class AbstractSyncAsyncMessageBus<T,P extends IMessageBus.IPostCommand> extends AbstractSyncMessageBus<T,P> implements IMessageBus<T,P>
IMessageBus.IPostCommandISyncMessageBus.ISyncPostCommand| Constructor and Description |
|---|
AbstractSyncAsyncMessageBus(BusConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
protected MessagePublication |
addAsynchronousDeliveryRequest(MessagePublication request) |
protected MessagePublication |
addAsynchronousDeliveryRequest(MessagePublication request,
long timeout,
TimeUnit unit) |
protected void |
finalize() |
Executor |
getExecutor()
Get the executor service that is used for asynchronous message publications.
|
boolean |
hasPendingMessages()
Check whether any asynchronous message publications are pending for being processed
|
void |
shutdown()
Shutdown the bus such that it will stop delivering asynchronous messages.
|
addErrorHandler, getPublicationFactory, getRegisteredErrorHandlers, getSubscriptionsByMessageType, handlePublicationError, subscribe, unsubscribeclone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpostaddErrorHandler, getRegisteredErrorHandlers, subscribe, unsubscribepublic AbstractSyncAsyncMessageBus(BusConfiguration configuration)
protected MessagePublication addAsynchronousDeliveryRequest(MessagePublication request)
protected MessagePublication addAsynchronousDeliveryRequest(MessagePublication request, long timeout, TimeUnit unit)
protected void finalize()
throws Throwable
public void shutdown()
IMessageBusshutdown in interface IMessageBus<T,P extends IMessageBus.IPostCommand>public boolean hasPendingMessages()
IMessageBushasPendingMessages in interface IMessageBus<T,P extends IMessageBus.IPostCommand>public Executor getExecutor()
IMessageBusgetExecutor in interface IMessageBus<T,P extends IMessageBus.IPostCommand>Copyright © 2013. All Rights Reserved.