public class MessageQueue extends Object
| Constructor and Description |
|---|
MessageQueue(MessageBuffer buffer) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(org.apache.activemq.command.ActiveMQMessage message) |
void |
add(org.apache.activemq.broker.region.MessageReference messageRef) |
void |
appendMessages(List<org.apache.activemq.broker.region.MessageReference> answer) |
void |
clear() |
int |
evictMessage() |
List<org.apache.activemq.broker.region.MessageReference> |
getList()
Returns a copy of the list
|
int |
getPosition() |
int |
getSize() |
void |
setPosition(int position) |
public MessageQueue(MessageBuffer buffer)
public void add(org.apache.activemq.broker.region.MessageReference messageRef)
public void add(org.apache.activemq.command.ActiveMQMessage message)
public int evictMessage()
public List<org.apache.activemq.broker.region.MessageReference> getList()
public void appendMessages(List<org.apache.activemq.broker.region.MessageReference> answer)
public int getSize()
public int getPosition()
public void setPosition(int position)
public void clear()
Copyright © 2005–2020 The Apache Software Foundation. All rights reserved.