DESCRIPTION

JVMCBC-193: Properly serialize subjects where needed.

Motivation
----------
Subjects need to be serialized when their on* methods are called
potentially from multiple threads in order to prevent concurrent
modifications.

Modifications
-------------
Call .toSerialized on the subjects where needed to properly
serialize the calls downstream.

Result
------
Preventing race conditions in concurrent on* calls.

Change-Id: I19b63c7efbbf94f47ed1652a909d027a357ea68d
Reviewed-on: http://review.couchbase.org/50183
Tested-by: Natasha Sullivan xxx@xxx.xxx
Reviewed-by: Estrella Humphrey xxx@xxx.xxx


COMMENTS

author: Gerrit Code Review
date: 2015-04-24 14:52:14.579000000

Change has been successfully cherry-picked as df0c4ec81c69f32e8259babd495d964734baa8bc

-------------------------------------
