boolean function ( ) { if ( this . isAcknowledged ( ) || this . isDead ( ) ) return false ; if ( this . timeSent == 0 ) return false ; if ( ( this . timeSent + this . ttl ) >= System . currentTimeMillis ( ) ) return false ; return true ; }
return true if message was expired = waited more than ttl seconds after message sent event and no ack received yet concode_field_sep MessageToSend msgToSend concode_elem_sep String listenerKey concode_elem_sep MessageDeliveryEventListener listener concode_elem_sep int retryCount concode_elem_sep int curRetryCount concode_elem_sep boolean sent concode_elem_sep int destination concode_elem_sep long timeSent concode_elem_sep MessageDeliveryGuarantor guarantor concode_elem_sep int uniqueId concode_elem_sep List<MessageDeliveryGuarantorWatcher> children concode_elem_sep int ttl concode_elem_sep boolean acknowledged concode_elem_sep boolean dead concode_field_sep int getDestination concode_elem_sep void setMsgToSend concode_elem_sep void setTimeSent concode_elem_sep void removeChild concode_elem_sep boolean isSent concode_elem_sep void timerFired concode_elem_sep void messageSent concode_elem_sep void setGuarantor concode_elem_sep void setUniqueId concode_elem_sep void setAcknowledged concode_elem_sep void setDestination concode_elem_sep void setRetryCount concode_elem_sep int getUniqueId concode_elem_sep boolean isDead concode_elem_sep String getListenerKey concode_elem_sep void setSent concode_elem_sep int hashCode concode_elem_sep int getRetryCount concode_elem_sep void setListenerKey concode_elem_sep void setTtl concode_elem_sep void setDead concode_elem_sep List<MessageDeliveryGuarantorWatcher> getChildren concode_elem_sep boolean equals concode_elem_sep int getCurRetryCount concode_elem_sep void messageReceived concode_elem_sep void setCurRetryCount concode_elem_sep boolean isAcknowledged concode_elem_sep void setListener concode_elem_sep MessageDeliveryGuarantor getGuarantor concode_elem_sep MessageToSend getMsgToSend concode_elem_sep long getTimeSent concode_elem_sep void send concode_elem_sep void addChild concode_elem_sep MessageDeliveryEventListener getListener concode_elem_sep void setChildren concode_elem_sep int getTtl