change function name replicationCacheMaster to replicationCachedMaster

I think it is more suitable to change function name, replicationCacheMaster to replicationCachedMaster