|
||||||||||
| 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.PollingQueue<E>
public abstract class PollingQueue<E>
Implements an queue which polls the data periodically.
| Constructor Summary | |
|---|---|
protected |
PollingQueue()
|
| Method Summary | |
|---|---|
void |
handleAlarm(Alarm alarm)
Handles a callback from an alarm. |
protected void |
pollImpl()
|
void |
setPollPeriod(Period period)
|
protected void |
startPoll()
|
protected void |
stopPoll()
|
| Methods inherited from class com.caucho.jms.queue.AbstractQueue |
|---|
acknowledge, addListenerException, addMessageCallback, close, drainTo, drainTo, getBrowserList, getConsumerCount, getListenerFailCountTotal, getListenerFailLastTime, getQueueSize, getReceiverCount, init, iterator, offer, offer, peek, poll, poll, postConstruct, put, receive, receive, receive, receiveEntry, receiveEntry, remainingCapacity, removeMessageCallback, rollback, setQueueName, size, take |
| Methods inherited from class com.caucho.jms.queue.AbstractDestination |
|---|
generateMessageID, generateMessageID, getJMSDestination, getName, getQueueName, getTopicName, getUrl, hasMessage, send, 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 com.caucho.jms.queue.MessageQueue |
|---|
send |
| 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 |
|---|
protected PollingQueue()
| Method Detail |
|---|
public void setPollPeriod(Period period)
protected void startPoll()
protected void stopPoll()
public void handleAlarm(Alarm alarm)
AlarmListener
handleAlarm in interface AlarmListenerprotected void pollImpl()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||