Class CmsFlexBucketConfiguration.BucketSet

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected BucketSet​(java.util.Set<java.lang.String> buckets)
      Creates a new instance from a set of bucket names.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.String> getBucketNames()
      Computes the list of bucket names for this instance.
      boolean matchForDeletion​(CmsFlexBucketConfiguration.BucketSet flexEntryBucketSet)
      If this entry is the bucket set created from a publish list, and the argument is the bucket list of a flex cache entry, then the result of this method determines whether the flex cache entry for which the argument bucket set was created should be removed.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • BucketSet

        protected BucketSet​(java.util.Set<java.lang.String> buckets)
        Creates a new instance from a set of bucket names.

        Parameters:
        buckets - the bucket names
    • Method Detail

      • getBucketNames

        public java.util.List<java.lang.String> getBucketNames()
        Computes the list of bucket names for this instance.

        Returns:
        the list of bucket names
      • matchForDeletion

        public boolean matchForDeletion​(CmsFlexBucketConfiguration.BucketSet flexEntryBucketSet)
        If this entry is the bucket set created from a publish list, and the argument is the bucket list of a flex cache entry, then the result of this method determines whether the flex cache entry for which the argument bucket set was created should be removed.

        Parameters:
        flexEntryBucketSet - the bucket set for the flex cache entry
        Returns:
        true if the flex cache entry from which argument flex bucket set was generated should be removed.

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        See Also:
        Object.toString()