Class DefaultAttributeMap

  • All Implemented Interfaces:
    AttributeMap
    Direct Known Subclasses:
    AbstractChannel

    public class DefaultAttributeMap
    extends Object
    implements AttributeMap
    Default AttributeMap implementation which not exibit any blocking behaviour on attribute lookup while using a copy-on-write approach on the modify path.
    Attributes lookup and remove exibit O(logn) time worst-case complexity, hence attribute::set(null) is to be preferred to remove.