Interface BundlerEx<T extends LoadBalancingProfile>

Type Parameters:
T - the type of parameters profile used by this bundler.
All Superinterfaces:
Bundler<T>
All Known Implementing Classes:
AbstractAdaptiveBundler, AutoTunedBundler, ProportionalBundler, RL2Bundler

public interface BundlerEx<T extends LoadBalancingProfile> extends Bundler<T>
A bundler which provides a more advanced feedback method with additional performance data.
Author:
Laurent Cohen
  • Field Summary

    Fields inherited from interface org.jppf.load.balancer.Bundler

    BUNDLER_COUNT
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    feedback(int nbTasks, double totalTime, double accumulatedElapsed, double overheadTime)
    Feedback the bundler with the result of using the bundle with the specified size.

    Methods inherited from interface org.jppf.load.balancer.Bundler

    dispose, feedback, getBundleSize, getProfile, getTimestamp, setup
  • Method Details

    • feedback

      void feedback(int nbTasks, double totalTime, double accumulatedElapsed, double overheadTime)
      Feedback the bundler with the result of using the bundle with the specified size. The feedback data consists in providing a number of tasks that were executed, and their total execution time in milliseconds. The execution time includes the network round trip between node and server.
      Parameters:
      nbTasks - number of tasks that were executed.
      totalTime - the total execution and transport time in nanoseconds.
      accumulatedElapsed - the total accumalated elapsed time (in the node) in nanoseconds for the execution of the tasks.
      overheadTime - the transport time in nanoseconds.