|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractQueue<E>
com.caucho.jms.queue.AbstractDestination<E>
com.caucho.jms.queue.AbstractQueue<E>
com.caucho.jms.queue.AbstractMemoryQueue<E,MemoryQueueEntry<E>>
com.caucho.jms.memory.MemoryQueueImpl<X>
com.caucho.jms.MemoryQueue<X>
@Singleton @Configurable public class MemoryQueue<X>
A JMS queue stored in memory. It is configured as:
<web-app xmlns="http://caucho.com/ns/resin"
xmlns:resin="urn:java:com.caucho.resin">
<resin:MemoryQueue>
<resin:JndiName>jms/my-name</resin:JndiName>
<resin:Name>my-name</resin:Name>
</resin:MemoryQueue>
</web-app>
| Constructor Summary | |
|---|---|
MemoryQueue()
Standard Injection constructor |
|
MemoryQueue(java.lang.String name)
Programmatic constructor, automatically initializes the queue. |
|
| Method Summary |
|---|
| Methods inherited from class com.caucho.jms.memory.MemoryQueueImpl |
|---|
acknowledge, getUrl, writeEntry |
| Methods inherited from class com.caucho.jms.queue.AbstractMemoryQueue |
|---|
acknowledge, addMessageCallback, addQueueEntry, dispatchMessage, getBrowserList, getConsumerCount, getMessageIds, getQueueSize, getQueueSizeMax, getReceiverCount, hasMessage, listen, readEntry, readEntry, readPayload, receive, receiveEntry, receiveEntry, removeEntry, removeMessageCallback, rollback, send, setQueueSizeMax |
| Methods inherited from class com.caucho.jms.queue.AbstractQueue |
|---|
addListenerException, close, drainTo, drainTo, getListenerFailCountTotal, getListenerFailLastTime, init, iterator, offer, offer, peek, poll, poll, postConstruct, put, receive, receive, remainingCapacity, setQueueName, size, take |
| Methods inherited from class com.caucho.jms.queue.AbstractDestination |
|---|
generateMessageID, generateMessageID, getJMSDestination, getName, getQueueName, getTopicName, setName, setSerializationHandle, toString |
| Methods inherited from class java.util.AbstractQueue |
|---|
add, addAll, clear, element, remove |
| Methods inherited from class java.util.AbstractCollection |
|---|
contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.jms.Queue |
|---|
getQueueName, toString |
| Methods inherited from interface java.util.concurrent.BlockingQueue |
|---|
add, contains, remove |
| Methods inherited from interface java.util.Queue |
|---|
element, remove |
| Methods inherited from interface java.util.Collection |
|---|
addAll, clear, containsAll, equals, hashCode, isEmpty, removeAll, retainAll, toArray, toArray |
| Constructor Detail |
|---|
public MemoryQueue()
public MemoryQueue(java.lang.String name)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||