Hi,
On Fri, Jun 7, 2013 at 10:21 PM, Rajiv Kurian <
geet...@gmail.com> wrote:
> I am talking about a generic cache written to by a single thread and read by
> multiple. For eg: A LRU cache to prevent a look up of data on a remote node,
> not a batch processing or request/response architecture.
>
> @Wojciech Kudla I'll take a look at Unsafe.putOrderedObject.
For maximum portability, you may want to use
AtomicReference.lazySet(), AtomicReferenceArray.lazySet(),
AtomicReferenceFieldUpdater.lazySet().
--
Simone Bordet
----
http://cometd.org
http://webtide.com
http://intalio.com
Developer advice, training, services and support
from the Jetty & CometD experts.
Intalio, the modern way to build business applications.