net.i2p.router.util

## Interface CDQEntry

- All Known Subinterfaces:
    CDPQEntry
  All Known Implementing Classes:
    InboundMessageState, OutboundGatewayMessage, OutboundMessageState, OutNetMessage, PendingGatewayMessage, UDPPacket

      public interface CDQEntry

  Interface for CoDel queue entries with enqueue time tracking.

  Defines the contract for elements stored in CoDel (Controlled Delay) queues. Provides methods for accessing and managing enqueue timestamps for delay calculation.

  Used by CoDelBlockingQueue and CoDelPriorityBlockingQueue to implement Active Queue Management with timestamp-based delay monitoring and packet dropping functionality.

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `drop()` Implement any reclaimation of resources here
    `long` | `getEnqueueTime()`
    `void` | `setEnqueueTime(long time)` To be set by the queue

- - ### Method Detail

    - #### drop

          void drop()

      Implement any reclaimation of resources here

    - #### getEnqueueTime

          long getEnqueueTime()

    - #### setEnqueueTime

          void setEnqueueTime(long time)

      To be set by the queue