T
- type of value stored in the attribute.public static class Session.AttributeKey<T> extends Object
AbstractSession
.
Typically it is used as a static variable that is shared between the producer
and the consumer. To further restrict access the setting or getting it from
the Session you can add static get and set methods, e.g:
private static final AttributeKeyCopyright © 2008–2014 The Apache Software Foundation. All rights reserved.