Interface ImperativeListCacheable

    • Method Detail

      • andEntityInfo

        ImperativeListCacheable andEntityInfo​(Function<String,​EntityInfo> factoryFunction)
        Optional. Provide additional, identifying information about the cache member via the factory function. The string passed to the factory function is taken from each member of ImperativeListCacheInfo.getImperativeArgs() and is often useful to provide as the id argument during EntityInfo construction. This information is used to influence the cache key, allowing the identifying information to be discerned by other processes (e.g. discrete cache invalidation).
        Parameters:
        factoryFunction - Used to construct additional, identifying information about the cache member
        Returns:
        The chained element