code: public static <K, V> ReplicatedMap<K,V> synchronizedMap(ReplicatedMap<K,V> map) {
          return new SynchronizedReplicatedMap<>(map);
      }
docs: Creates a synchronized facade for a ReplicatedMap. All methods which
  change state are invoked through a monitor. This is similar to
  {@link java.util.Collections.SynchronizedMap#synchronizedMap(Map)}, but also includes the replication
  methods (starting with an underscore).
  
  @param map
  @return