Invocation

At allocation phase, the plugin needs to provide a callback function, AllocatorFn, which adjusts allocation decisions made by LSF. This function must be registered to the scheduler framework. The scheduler framework calls it after LSF makes a decision for the job.

In addition to AllocatorFn(), the plugin may also need to provide a New() function in the handler for the user-specific resource criteria, if there are any. If there is no such user-specific resource requirement, AllocatorFn() is applied to all jobs.