com.neeve.sma
Class MessageBusBinding.SynchronousBlockingFlushContext

java.lang.Object
  extended by com.neeve.sma.MessageBusBinding.FlushContext
      extended by com.neeve.sma.MessageBusBinding.SynchronousBlockingFlushContext
Enclosing interface:
MessageBusBinding

public static final class MessageBusBinding.SynchronousBlockingFlushContext
extends MessageBusBinding.FlushContext

Context for flushing using synchronous blocking semantics.

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.


Nested Class Summary
 
Nested classes/interfaces inherited from class com.neeve.sma.MessageBusBinding.FlushContext
MessageBusBinding.FlushContext.FlushMode
 
Field Summary
 boolean complete
          Indicates whether the binding was flushed or not.
 
Fields inherited from class com.neeve.sma.MessageBusBinding.FlushContext
flushMode
 
Constructor Summary
MessageBusBinding.SynchronousBlockingFlushContext()
          Constructor.
 
Method Summary
 MessageBusBinding.FlushContext reset()
          Implementation of MessageBusBinding.FlushContext.reset()
 String toString()
          String representation.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

complete

public boolean complete
Indicates whether the binding was flushed or not.

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.

Constructor Detail

MessageBusBinding.SynchronousBlockingFlushContext

public MessageBusBinding.SynchronousBlockingFlushContext()
Constructor.

Method Detail

reset

public final MessageBusBinding.FlushContext reset()
Implementation of MessageBusBinding.FlushContext.reset()

Specified by:
reset in class MessageBusBinding.FlushContext

toString

public final String toString()
String representation.

Overrides:
toString in class MessageBusBinding.FlushContext


Copyright © 2016 Neeve Research, LLC. All Rights Reserved.