Interface JobAwareness

All Known Implementing Classes:
AbstractAdaptiveBundler, AutoTunedBundler, ProportionalBundler, RL2Bundler

public interface JobAwareness
Bundler implementations should implement this interface if they wish to have access to a job's information.
Author:
Laurent Cohen
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the current job for which load-balancing is being performed.
    void
    Set the current job for which load-balancing is being performed.
  • Method Details

    • getJob

      Get the current job for which load-balancing is being performed.
      Returns:
      a JPPFDistributedJob instance.
    • setJob

      void setJob(JPPFDistributedJob job)
      Set the current job for which load-balancing is being performed. This method should never be called directly, as it is set automatically be the JPPF load balancing framework.
      Parameters:
      job - a JPPFDistributedJob instance.