Package org.apache.aurora.scheduler.filter.SchedulingFilter

Examples of org.apache.aurora.scheduler.filter.SchedulingFilter.Veto


    this.hostAttributes = requireNonNull(hostAttributes);
  }

  @VisibleForTesting
  static Veto limitVeto(String limit) {
    return new Veto("Limit not satisfied: " + limit, Veto.MAX_SCORE);
  }
View Full Code Here


    return Veto.constraintMismatch("Constraint not satisfied: " + constraint);
  }

  @VisibleForTesting
  static Veto maintenanceVeto(String reason) {
    return new Veto("Host " + reason + " for maintenance", Veto.MAX_SCORE);
  }
View Full Code Here

TOP

Related Classes of org.apache.aurora.scheduler.filter.SchedulingFilter.Veto

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.