Class SectionSortCache


  • public class SectionSortCache
    extends Object
    Caches the order AccessSections should be sorted for evaluation.

    Access specifications for a more specific ref (eg. refs/heads/master rather than refs/heads/*) take precedence in ACL evaluations. So for each combination of (ref, list of access specs) we have to order the access specs by their distance from the ref to be matched. This is expensive, so cache the sorted ordering.

    • Method Detail

      • module

        public static com.google.inject.Module module()