Edit

Share via


JobOrderBy Class

Definition

Used to specify the preference that you want the scheduler to use when it decides on which nodes to run your job. For example, schedule the job on nodes with the most amount of memory and the least number of cores.

public class JobOrderBy : Microsoft.Hpc.Scheduler.Properties.IJobOrderByList, System.Collections.Generic.IEnumerable<Microsoft.Hpc.Scheduler.Properties.JobOrderBy>
type JobOrderBy = class
    interface IJobOrderByList
    interface seq<JobOrderBy>
    interface IEnumerable
Public Class JobOrderBy
Implements IEnumerable(Of JobOrderBy), IJobOrderByList
Inheritance
JobOrderBy
Implements

Properties

Count

Retrieves the number of preferences in the order by list.

MemoryAsc

Retrieves an object that defines a preference for using the amount of memory on a node when generating the list of nodes on which the job is scheduled. The list is sorted in ascending order.

MemoryDesc

Retrieves an object that defines a preference for using the amount of memory on a node when generating the list of nodes on which the job is scheduled. The list is sorted in descending order.

Order

Retrieves the order in which the preference is sorted.

ProcessorsAsc

Retrieves an object that defines a preference for using the number of cores on a node when generating the list of nodes on which the job is scheduled. The list is sorted in ascending order.

ProcessorsDesc

Retrieves an object that defines a preference for using the number of cores on a node when generating the list of nodes on which the job is scheduled. The list is sorted in descending order.

Property

The property that you want the scheduler to give preference to when creating the list of nodes on which the job can run.

Methods

Add(JobOrderBy)

Returns a new preference list that includes the preferences from this object and the specified preference.

CreateOrderBy(JobOrderBy+OrderByProperty, JobOrderBy+SortOrder)

Creates a JobOrderBy object that you use to specify your preference for scheduling jobs on nodes in the cluster.

Equals(Object)

Determines if the specified object is equal to this object.

FromByte(Byte)
GetEnumerator()

Retrieves an enumerator that you can use to enumerate the items in the list of preferences.

GetHashCode()

Retrieves a unique hash code for the object.

Parse(String)

Parses the specified string and uses its components to create a JobOrderBy object.

ToByte()

Converts this object to a byte.

ToInt()

Converts this object to an integer.

ToString()

Retrieves a formatted string that represents the object.

Operators

Explicit(JobOrderBy to Byte)

Converts the order by object to a byte.

Explicit Interface Implementations

IEnumerable.GetEnumerator()

Applies to