Class StorageConfig.Builder

    • Method Detail

      • setInvalidationFilter

        public StorageConfig.Builder setInvalidationFilter​(@Nullable
                                                           EnumSet<InvalidationCause> invalidationFilter)
        Sets the filter represented as a subset of InvalidationCause to apply when a shard is invalidated. Only the causes included in the set will trigger cleanup of data related to the shard that's being invalidated. By default no filter is applied and data will be cleared on shard invalidation regardless of the reason (EnumSet.allOf(InvalidationCause.class))
        Parameters:
        invalidationFilter - the filter as an EnumSet, or null to use default
        Returns:
        this builder