public class LocalSender<T> extends AbstractMessageSender<T>
Modifier and Type | Method and Description |
---|---|
void |
close() |
java.lang.String |
getAddress() |
long |
getLastMessageId()
Returns the most recently received message id for acknowledgement.
|
protected boolean |
offerMicros(MessagePropertiesFactory<T> factory,
T value,
long timeoutMicros)
Offers a value to the queue.
|
int |
remainingCapacity() |
java.lang.String |
toString() |
createMessageFactory, getSettleListener, getSettleMode, getUnsettledCount
add, addAll, clear, contains, containsAll, drainTo, drainTo, element, getMessageFactory, isEmpty, iterator, offer, offer, peek, poll, poll, put, remove, remove, removeAll, retainAll, size, take, toArray, toArray
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
add, contains, drainTo, drainTo, offer, offer, poll, put, remove, take
public java.lang.String getAddress()
protected boolean offerMicros(MessagePropertiesFactory<T> factory, T value, long timeoutMicros)
AbstractMessageSender
offerMicros
in class AbstractMessageSender<T>
public long getLastMessageId()
MessageSender
public int remainingCapacity()
remainingCapacity
in interface java.util.concurrent.BlockingQueue<T>
remainingCapacity
in class AbstractQueueSender<T>
public void close()
public java.lang.String toString()
toString
in class AbstractMessageSender<T>