Package hudson.maven

Class ProcessCache


  • public final class ProcessCache
    extends Object
    Hold on to launched Maven processes so that multiple builds can reuse the same Maven JVM, which leads to improved performance.
    Author:
    Kohsuke Kawaguchi
    • Field Detail

      • MAX_AGE

        public static int MAX_AGE
    • Constructor Detail

      • ProcessCache

        protected ProcessCache​(int maxProcess)
        Parameters:
        maxProcess - Number of maximum processes to cache.