public class DefaultAttributeMap extends java.lang.Object implements AttributeMap
AttributeMap implementation which use simple synchronization per bucket to keep the memory overhead
as low as possible.| Constructor and Description |
|---|
DefaultAttributeMap() |
| Modifier and Type | Method and Description |
|---|---|
<T> Attribute<T> |
attr(AttributeKey<T> key)
Get the
Attribute for the given AttributeKey. |
public <T> Attribute<T> attr(AttributeKey<T> key)
AttributeMapAttribute 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 AttributeMapCopyright © 2008–2018 The Netty Project. All rights reserved.