Class ProtonSequentialTagGenerator
java.lang.Object
org.apache.qpid.protonj2.engine.impl.ProtonDeliveryTagGenerator
org.apache.qpid.protonj2.engine.impl.ProtonSequentialTagGenerator
- All Implemented Interfaces:
DeliveryTagGenerator
- Direct Known Subclasses:
ProtonPooledTagGenerator
A Built in proton
DeliveryTagGenerator
that creates new tags using a sequential
numeric value which is encoded using the most compact representation of the numeric value.-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
Nested classes/interfaces inherited from class org.apache.qpid.protonj2.engine.impl.ProtonDeliveryTagGenerator
ProtonDeliveryTagGenerator.BUILTIN
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionnextTag()
Creates and returns the nextDeliveryTag
tag that should be used when populating anOutgoingDelivery
.
-
Field Details
-
nextTagId
protected long nextTagId
-
-
Constructor Details
-
ProtonSequentialTagGenerator
public ProtonSequentialTagGenerator()
-
-
Method Details
-
nextTag
Description copied from interface:DeliveryTagGenerator
Creates and returns the nextDeliveryTag
tag that should be used when populating anOutgoingDelivery
.- Returns:
- the next
DeliveryTag
to use for anOutgoingDelivery
.
-