private void updateCachedFunctions() {
        if (needToUpdateFunctionCache()) {
            allFunctionsCached = new CachedFunctions(gatherAllFunctions());
        }
    }
Returns an unmodifiable snapshot of the functions in this
config-model/src/main/java/com/yahoo/schema/RankProfile.java