Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Thread-safe state handling

DZone's Guide to

Thread-safe state handling

· Java Zone ·
Free Resource

Get the Edge with a Professional Java IDE. 30-day free trial.

Handling mutable state and side-effects in multi-threaded code can be a challenge, perhaps more of a challenge than you might think. In my latest blog entry I explore some issues and options, especially how the State pattern can help.

Get the Java IDE that understands code & makes developing enjoyable. Level up your code with IntelliJ IDEA. Download the free trial.

Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}