Class SharedQueryCache

    • Constructor Detail

      • SharedQueryCache

        SharedQueryCache​(QueryCache original)
        Sole constructor for this class.
        Parameters:
        original - The shared cache instance, which should be wrapped by this cache.
    • Method Detail

      • clear

        public void clear()
        Description copied from class: QueryCache
        Clears the cache, must be called from the configuration after the configuration was refreshed.
        Overrides:
        clear in class QueryCache
      • getPossibleValues

        public java.util.List<ConstraintSyntaxTree> getPossibleValues​(Reference refType)
        Description copied from class: QueryCache
        Calculates possible values (ConstraintSyntaxTree-based) for a given Reference variable.
        Overrides:
        getPossibleValues in class QueryCache
        Parameters:
        refType - The reference for which possible values should be calculated for.
        Returns:
        A maybe empty list of possible values for the given Reference. This list is unmodifiable and should not be stored outside of this cache.