Class BackingMapScheme

    • Constructor Detail

      • BackingMapScheme

        public BackingMapScheme()
    • Method Detail

      • getInnerScheme

        public CachingScheme getInnerScheme()
        Return the inner scheme.
        Returns:
        the inner scheme
      • setInnerScheme

        public void setInnerScheme​(CachingScheme scheme)
        Set the inner scheme.
        Parameters:
        scheme - the inner scheme
      • setPartitioned

        @Injectable
        public void setPartitioned​(Expression<String> expr)
        Set the partitioned string.
        Parameters:
        expr - the Boolean expression set to 'true' or 'observable' if the backing map is partitioned
      • isPartitioned

        public boolean isPartitioned​(ParameterResolver resolver,
                                     boolean fDefault)
        Return true if the partitioned flag is set explicitly or a journal map is used.
        Parameters:
        resolver - the ParameterResolver
        fDefault - the default partitioned flag
        Returns:
        true if the map is partitioned
      • isTransient

        public boolean isTransient​(ParameterResolver resolver)
        Return true if the backing map is transient.
        Parameters:
        resolver - the ParameterResolver
        Returns:
        true if the backing map is transient
      • setTransient

        @Injectable
        public void setTransient​(Expression<Boolean> expr)
        Set the transient flag.
        Parameters:
        expr - true to make the backing map transient.
      • isSlidingExpiry

        public Boolean isSlidingExpiry​(ParameterResolver resolver)
        Return true iff sliding expiry is enabled.
        Parameters:
        resolver - the ParameterResolver
        Returns:
        true iff sliding expiry is enabled
      • setSlidingExpiry

        @Injectable("sliding-expiry")
        public void setSlidingExpiry​(Expression<Boolean> expr)
        Set the SlidingExpiry flag.
        Parameters:
        expr - true to enable sliding expiry for the backing map
      • isFederateApplySynthetic

        public Boolean isFederateApplySynthetic​(ParameterResolver resolver)
        Return true iff received federated changes should be applied locally as synthetic updates.
        Parameters:
        resolver - the ParameterResolver
        Returns:
        true iff received federated changes should be applied locally as synthetic updates
        Since:
        12.2.1.4
      • setFederateApplySynthetic

        @Injectable("federate-apply-synthetic")
        public void setFederateApplySynthetic​(Expression<Boolean> expr)
        Set whether incoming federated changes should be applied locally as synthetic updates.
        Parameters:
        expr - true to apply incoming federated changes as synthetic
        Since:
        12.2.1.4
      • getReadLocatorBuilder

        public ReadLocatorBuilder getReadLocatorBuilder()
        Return a builder that is capable of building BiFunction's that return the Member reads for a partitioned cache should be targeted against.
        Returns:
        a builder that is capable of building BiFunction's that return the Member reads for a partitioned cache should be targeted against
      • etReadLocatorBuilder

        @Injectable("read-locator")
        public void etReadLocatorBuilder​(ReadLocatorBuilder bldrReadLocator)
        Sets the builder that is capable of building BiFunction's that return the Member reads for a partitioned cache should be targeted against.
        Parameters:
        bldrReadLocator - the builder