* Method that can be called to get a read-only instance populated from the
* most recent version of the shared lookup Map.
*/
public ReadOnlyClassToSerializerMap getReadOnlyLookupMap()
{
ReadOnlyClassToSerializerMap m;
synchronized (this) {
m = _readOnlyMap;
if (m == null) {
_readOnlyMap = m = ReadOnlyClassToSerializerMap.from(_sharedMap);
}
}
return m.instance();
}