Package org.opencms.flex
Class CmsFlexBucketConfiguration.BucketSet
java.lang.Object
org.opencms.flex.CmsFlexBucketConfiguration.BucketSet
- Enclosing class:
- CmsFlexBucketConfiguration
A data structure representing a set of Flex cache buckets.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionComputes 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.toString()
-
Constructor Details
-
BucketSet
Creates a new instance from a set of bucket names.- Parameters:
buckets
- the bucket names
-
-
Method Details
-
getBucketNames
Computes the list of bucket names for this instance.- Returns:
- the list of bucket names
-
matchForDeletion
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
-