Class ClusterExamples

java.lang.Object
jline.examples.java.basic.ClusterExamples

public class ClusterExamples extends Object
Demonstrates cluster modelling APIs:
  • The static factories Network.cluster*
  • The Cluster builder with comparison and sweep helpers
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    Solves a four-PS-server open cluster with random dispatching.
    static void
    Compares random vs round-robin vs JSQ dispatching with the builder API.
    static void
    Three FCFS servers with non-uniform service rates dispatched JSQ.
    static void
    Closed-network variant: 8 jobs cycling between Think and 3 PS servers.
    static void
    Two-class open cluster (interactive + batch) on two PS servers.
    static void
    Sweeps the arrival rate to see how response time grows toward saturation.
    static void
    main(String[] args)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ClusterExamples

      public ClusterExamples()
  • Method Details

    • ex1_basic

      public static void ex1_basic()
      Solves a four-PS-server open cluster with random dispatching.
    • ex2_compare_dispatching

      public static void ex2_compare_dispatching()
      Compares random vs round-robin vs JSQ dispatching with the builder API.
    • ex3_heterogeneous

      public static void ex3_heterogeneous()
      Three FCFS servers with non-uniform service rates dispatched JSQ.
    • ex4_closed

      public static void ex4_closed()
      Closed-network variant: 8 jobs cycling between Think and 3 PS servers.
    • ex5_multiclass

      public static void ex5_multiclass()
      Two-class open cluster (interactive + batch) on two PS servers.
    • ex6_sweep

      public static void ex6_sweep()
      Sweeps the arrival rate to see how response time grows toward saturation.
    • main

      public static void main(String[] args)