Interface SingleItemCacheable

    • Method Detail

      • andEntityInfo

        SingleItemCacheable andEntityInfo​(Supplier<EntityInfo> factoryFunction)
        Optional. Provide additional, identifying information about the cache member via the factory function. 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
      • computeIfAbsent

        <P> P computeIfAbsent​(Supplier<P> compute)