public abstract class PollingQueue<E> extends AbstractQueue<E> implements AlarmListener
Modifier | Constructor and Description |
---|---|
protected |
PollingQueue() |
Modifier and Type | Method and Description |
---|---|
void |
handleAlarm(Alarm alarm)
Handles a callback from an alarm.
|
protected void |
pollImpl() |
void |
setPollPeriod(Period period) |
protected void |
startPoll() |
protected void |
stopPoll() |
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
generateMessageID, generateMessageID, getJMSDestination, getName, getQueueName, getTopicName, getUrl, hasMessage, send, setName, setSerializationHandle, toString
contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getQueueName, toString
send
public void setPollPeriod(Period period)
protected void startPoll()
protected void stopPoll()
public void handleAlarm(Alarm alarm)
AlarmListener
handleAlarm
in interface AlarmListener
protected void pollImpl()