Examples form Java 7 concurrency cookbook (published by packtpub.com)