@Override
        public boolean equals(Object obj) {
            if (!(obj instanceof CacheKey)) {
                return false;
            }
            CacheKey rhs = (CacheKey)obj;
            if (!version.equals(rhs.version)) {
                return false;
            }
            if (type != rhs.type) {
                return false;
            }
            return true;
        }
Internal helper class that implements a cache key for mapping a {@link Version} and routable type to a {@link
RoutableFactory}.
documentapi/src/main/java/com/yahoo/documentapi/messagebus/protocol/RoutableRepository.java