public class DefaultAttributeMap extends Object implements AttributeMap
AttributeMap
implementation which use simple synchronization per bucket to keep the memory overhead
as low as possible.Constructor and Description |
---|
DefaultAttributeMap() |
public <T> Attribute<T> attr(AttributeKey<T> key)
AttributeMap
Attribute
for the given AttributeKey
. This method will never return null, but may return
an Attribute
which does not have a value set yet.attr
in interface AttributeMap
Copyright © 2008–2016 The Netty Project. All rights reserved.