Class HybridLocalStrategy

  • All Implemented Interfaces:
    BuildRuleStrategy, Closeable, AutoCloseable

    public class HybridLocalStrategy
    extends Object
    implements BuildRuleStrategy
    This build strategy sends jobs to both a delegate build strategy and to the build engine to be run in the default way.

    It has a configurable limit for the number of active jobs to allow locally, and for the number to allow to the delegate. It prefers to send them locally if the limit there hasn't been reached. If both are at the limit, the jobs will be queued until space becomes available.