Class ResourceSaveIndexes


  • public class ResourceSaveIndexes
    extends Object
    This class encapculates the resource indexes which are stored in data store. These indexes are created to boost performance (policy evaluation).
    • Constructor Detail

      • ResourceSaveIndexes

        public ResourceSaveIndexes​(Set<String> hostIndexes,
                                   Set<String> pathIndexes,
                                   Set<String> parentPath)
        Constructor.
        Parameters:
        hostIndexes - Set of host indexes.
        pathIndexes - Set of path indexes.
        parentPath - Set of parent path indexes.
    • Method Detail

      • getHostIndexes

        public Set<String> getHostIndexes()
        Returns host indexes.
        Returns:
        host indexes.
      • getParentPathIndexes

        public Set<String> getParentPathIndexes()
        Returns parent path indexes.
        Returns:
        parent path indexes.
      • getPathIndexes

        public Set<String> getPathIndexes()
        Returns path indexes.
        Returns:
        path indexes.
      • addAll

        public void addAll​(ResourceSaveIndexes other)
        Adds all resource indexes from other object.
        Parameters:
        other - the other resource save indexes object.