All Implemented Interfaces:
Serializable, Cloneable, Map<Long, PeerStateDestroyed>, SequencedMap<Long, PeerStateDestroyed>
Enclosing class:
UDPTransport

private static class UDPTransport.DestroyedCacheextends LHMCache<Long, PeerStateDestroyed>
For PeerStateDestroyed, to kill the timers on overflow, else the memory won't be freed.
  • Constructor Details

    • DestroyedCache

      public DestroyedCache(int max)
      Maximum threshold.
      Parameters:
      max - the maximum number of entries kept before eviction
  • Method Details