Great, thanks for the clear response (as I'm interested in the Connection attribute holder, I should be Ok in regards to thread safety).
Tiran Meltser
System Architect
Global Products & Operations
Comverse - Making Your Network Smarter
T +972-3-7678381
M +972-54-5639381
Tiran.Meltser_at_comverse.com <mailto:Tiran.Meltser_at_comverse.com>
www.comverse.com<
http://www.comverse.com/>
P Please think of the environment before printing this email
From: Oleksiy Stashok [mailto:oleksiy.stashok_at_oracle.com]
Sent: Thursday, December 04, 2014 9:23 PM
To: users_at_grizzly.java.net
Cc: Broide Uri
Subject: Re: Small question
Attribute itself is thread-safe, but it all depends on AttributeHolder implementation you try to assign attribute to.
AttributeHolder might be UnsafeAttributeHolder or thread-safe IndexedAttributeHolder.
For example FilterChainContext.getAttributeHolder() is unsafe, however Connection.getAttributeHolder() is thread-safe.
WBR,
Alexey.
On 04.12.14 05:16, Meltser Tiran wrote:
Is the (org.glassfish.grizzly.attributes.)Attribute (and derived classes as well) class thread safe?
Tiran Meltser
System Architect
Global Products & Operations
Comverse - Making Your Network Smarter
T +972-3-7678381
M +972-54-5639381
Tiran.Meltser_at_comverse.com <mailto:Tiran.Meltser_at_comverse.com>
www.comverse.com<
http://www.comverse.com/>
P Please think of the environment before printing this email
________________________________
"This e-mail message may contain confidential, commercial or privileged information that constitutes proprietary information of Comverse Inc. or its subsidiaries. If you are not the intended recipient of this message, you are hereby notified that any review, use or distribution of this information is absolutely prohibited and we request that you delete all copies and contact us by e-mailing to: security_at_comverse.com<mailto:security_at_comverse.com>. Thank You."
________________________________
"This e-mail message may contain confidential, commercial or privileged information that constitutes proprietary information of Comverse Inc. or its subsidiaries. If you are not the intended recipient of this message, you are hereby notified that any review, use or distribution of this information is absolutely prohibited and we request that you delete all copies and contact us by e-mailing to: security_at_comverse.com. Thank You."