public class ClusterQueueSender
extends java.lang.Object
Constructor and Description |
---|
ClusterQueueSender(BamTriadSender bamSender,
byte[] queueHash) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
getAddress() |
protected BamTriadSender |
getBamSender() |
boolean |
isPrimarySelf() |
void |
receive(long expireTime,
boolean isAutoAck,
QueueEntrySelector selector,
MessageCallback<?> messageCallback) |
void |
send(java.lang.String msgId,
java.io.Serializable payload,
int priority,
long expireTime) |
void |
sendSubscribeTopicMessage(SubscribeTopic subscribeMessage,
TriadOwner topicOwner)
Topic Publishers use this API for registering themself
with the Topic running on the Triad Pod.
|
void |
sendTriadTopicMessage(TriadTopicMessage triadTopicMessage)
Topic Publishers use this API for publishing message
to the Triad Pod.
|
java.lang.String |
toString() |
public ClusterQueueSender(BamTriadSender bamSender, byte[] queueHash)
protected BamTriadSender getBamSender()
protected java.lang.String getAddress()
public boolean isPrimarySelf()
public void send(java.lang.String msgId, java.io.Serializable payload, int priority, long expireTime)
public void receive(long expireTime, boolean isAutoAck, QueueEntrySelector selector, MessageCallback<?> messageCallback)
public void sendTriadTopicMessage(TriadTopicMessage triadTopicMessage)
public void sendSubscribeTopicMessage(SubscribeTopic subscribeMessage, TriadOwner topicOwner)
public java.lang.String toString()
toString
in class java.lang.Object