Class ModuleDescriptorMemoryCache


  • class ModuleDescriptorMemoryCache
    extends java.lang.Object
    Cache ModuleDescriptors so that when the same module is used twice (in multi-module build for instance), it is parsed only once. This cache is has a limited size, and keep the most recently used entries. The entry in the cache are invalidated if there is a change to one variable used in the module descriptor.
    • Constructor Detail

      • ModuleDescriptorMemoryCache

        public ModuleDescriptorMemoryCache​(int size)
        Create a cache of the given size
        Parameters:
        size - int