public static final class MessageBusBinding.SynchronousBlockingFlushContext extends MessageBusBinding.FlushContext
The user provides either an instance of this class (or null) to
MessageChannel.sendMessage(com.neeve.sma.MessageView, java.util.Properties, com.neeve.sma.MessageBusBinding.FlushContext, int)
or MessageBusBinding.flush(com.neeve.sma.MessageBusBinding.FlushContext)
to request for
synchronous blocking flush semantics.
MessageBusBinding.FlushContext.FlushMode
Modifier and Type | Field and Description |
---|---|
boolean |
complete
Indicates whether the binding was flushed or not.
|
flushMode
Constructor and Description |
---|
MessageBusBinding.SynchronousBlockingFlushContext()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
MessageBusBinding.FlushContext |
reset()
Implementation of
MessageBusBinding.FlushContext.reset() |
String |
toString()
String representation.
|
public boolean complete
Upon successful return from MessageChannel.sendMessage(com.neeve.sma.MessageView, java.util.Properties, com.neeve.sma.MessageBusBinding.FlushContext, int)
, this
field is set to true in case the send method implictly flushed the
binding. A value of false indicates that the binding was not flushed.
The value in this field is always equal to the value returned by the
send method.
Upon successful return from MessageBusBinding.flush(com.neeve.sma.MessageBusBinding.FlushContext)
, this field will always
be set to true.
public MessageBusBinding.SynchronousBlockingFlushContext()
public final MessageBusBinding.FlushContext reset()
MessageBusBinding.FlushContext.reset()
reset
in class MessageBusBinding.FlushContext
public final String toString()
toString
in class MessageBusBinding.FlushContext
Copyright © 2019 Neeve Research, LLC. All Rights Reserved.