long buildHashCode(@NotNull V entity) {
        Timer timer = getMetrics().getTimer(MetricsType.DATA_PROVIDER_CREATE_KEY.name());

        List<Object> keys = getPrimaryKeys(entity);

        long hashCode = buildHashCode(keys);

        timer.stop();

        return hashCode;
    }
long buildHashCode ( @ NotNull V entity ) { Timer timer = getMetrics ( ) . getTimer ( MetricsType . DATA_PROVIDER_CREATE_KEY . name ( ) ) ; List < Object > keys = getPrimaryKeys ( entity ) ; long hashCode = buildHashCode ( keys ) ; timer . stop ( ) ; return hashCode ; }
Build hash code for entity

@param entity Input entity

@return Cache key