A simple implement of consistent hash (hash ring) by Java.