Package org.apache.qpid.protonj2.engine
Interface DeliveryTagGenerator
-
- All Known Implementing Classes:
ProtonDeliveryTagGenerator,ProtonPooledTagGenerator,ProtonSequentialTagGenerator,ProtonUuidTagGenerator
public interface DeliveryTagGeneratorTransfer tag generators can be assigned toSenderlinks in order to allow the link to automatically assign a transfer tag to each outbound delivery. Depending on the Sender different tag generators can operate in a fashion that is most efficient for that link such as caching tags for links that will produce a large number of messages to avoid GC overhead, while for other links simpler generator types could be used.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DeliveryTagnextTag()Creates and returns the nextDeliveryTagtag that should be used when populating anOutgoingDelivery.
-
-
-
Method Detail
-
nextTag
DeliveryTag nextTag()
Creates and returns the nextDeliveryTagtag that should be used when populating anOutgoingDelivery.- Returns:
- the next
DeliveryTagto use for anOutgoingDelivery.
-
-