Class AbstractAsSearchProfileCalculationStrategy<T extends AbstractAsSearchProfile>

    • Constructor Detail

      • AbstractAsSearchProfileCalculationStrategy

        public AbstractAsSearchProfileCalculationStrategy()
    • Method Detail

      • getCacheKeyFragment

        public java.io.Serializable getCacheKeyFragment​(AsSearchProfileContext context,
                                                        T searchProfile)
        Description copied from interface: AsCacheAwareStrategy
        Returns a cache key fragment. In most cases implementing strategies can simply return null. If strategies can have results that depend on the context, a different implementation should be provided.
        Specified by:
        getCacheKeyFragment in interface AsCacheAwareStrategy<T extends AbstractAsSearchProfile>
        Parameters:
        context - - the search profile context
        searchProfile - - the source object
        Returns:
        the key fragment