T - P - public abstract class AbstractSyncAsyncMessageBus<T,P extends ISyncAsyncPublicationCommand> extends AbstractSyncMessageBus<T,P> implements IMessageBus<T,P>
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractSyncAsyncMessageBus(IBusConfiguration 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 to be processed
|
void |
shutdown()
Shutdown the bus such that it will stop delivering asynchronous messages.
|
addErrorHandler, createMessagePublication, getPublicationFactory, getRegisteredErrorHandlers, getRuntime, getSubscriptionsByMessageType, handlePublicationError, subscribe, unsubscribeclone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpostpublish, subscribe, unsubscribegetRuntimeaddErrorHandler, getRegisteredErrorHandlersprotected AbstractSyncAsyncMessageBus(IBusConfiguration 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 ISyncAsyncPublicationCommand>public boolean hasPendingMessages()
IMessageBushasPendingMessages in interface IMessageBus<T,P extends ISyncAsyncPublicationCommand>public Executor getExecutor()
IMessageBusgetExecutor in interface IMessageBus<T,P extends ISyncAsyncPublicationCommand>Copyright © 2013. All Rights Reserved.