public static StrictPreemptionContract NewInstance(ICollection <PreemptionContainer > containers) { StrictPreemptionContract contract = Org.Apache.Hadoop.Yarn.Util.Records.NewRecord <StrictPreemptionContract>(); contract.SetContainers(containers); return(contract); }
public static PreemptionMessage NewInstance(StrictPreemptionContract set, PreemptionContract contract) { PreemptionMessage message = Org.Apache.Hadoop.Yarn.Util.Records.NewRecord <PreemptionMessage >(); message.SetStrictContract(set); message.SetContract(contract); return(message); }
public abstract void SetStrictContract(StrictPreemptionContract set);