public class SyncAsyncPostCommand<T> extends Object implements ISyncAsyncPublicationCommand
| Constructor and Description |
|---|
SyncAsyncPostCommand(MBassador<T> mBassador,
T message) |
| Modifier and Type | Method and Description |
|---|---|
IMessagePublication |
asynchronously()
Execute the message publication asynchronously.
|
IMessagePublication |
asynchronously(long timeout,
TimeUnit unit)
Execute the message publication asynchronously.
|
IMessagePublication |
now()
Execute the message publication immediately.
|
public IMessagePublication now()
IPublicationCommandnow in interface IPublicationCommandpublic IMessagePublication asynchronously()
ISyncAsyncPublicationCommandasynchronously in interface ISyncAsyncPublicationCommandpublic IMessagePublication asynchronously(long timeout, TimeUnit unit)
ISyncAsyncPublicationCommandasynchronously in interface ISyncAsyncPublicationCommandCopyright © 2018. All rights reserved.