using synchronized map for table cache