Class LayeredExamples

java.lang.Object
jline.examples.java.basic.LayeredExamples

public class LayeredExamples extends Object
Layered network examples mirroring the Kotlin notebooks in layeredModel.

This class contains Java implementations that mirror the Kotlin notebook examples found in jar/src/main/kotlin/jline/examples/kotlin/basic/layeredModel/. Each method demonstrates a specific layered network concept using models from the basic package.

The examples cover: - Basic layered network structures with processors and tasks - Activity precedence patterns and synchronous calls - Multi-solver approaches for layered networks - Enterprise application modeling patterns - BPMN-style workflow representations

  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    Basic layered network (lqn_basic.ipynb).
    static void
    BPMN-style layered network (lqn_bpmn.ipynb).
    static void
    Function-oriented layered network (lqn_function.ipynb).
    static void
    Multi-solver layered network (lqn_multi_solvers.ipynb).
    static void
    OFBiz-style layered network (lqn_ofbiz.ipynb).
    static void
    Serial layered network (lqn_serial.ipynb).
    static void
    Sock Shop microservice layered network (lqn_sockshop).
    static void
    Two-task layered network (lqn_twotasks.ipynb).
    static void
    Workflow layered network (lqn_workflows.ipynb).
    static void
    main(String[] args)
    Main method demonstrating selected layered network examples.

    Methods inherited from class java.lang.Object

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

    • LayeredExamples

      public LayeredExamples()
  • Method Details

    • lqn_basic

      public static void lqn_basic() throws Exception
      Basic layered network (lqn_basic.ipynb).

      Demonstrates fundamental layered network concepts with processors, tasks, and activity precedence.

      Throws:
      Exception
    • lqn_serial

      public static void lqn_serial() throws Exception
      Serial layered network (lqn_serial.ipynb).

      Shows serial activity precedence in layered networks with synchronous call patterns.

      Throws:
      Exception
    • lqn_multi_solvers

      public static void lqn_multi_solvers() throws Exception
      Multi-solver layered network (lqn_multi_solvers.ipynb).

      Demonstrates different solver approaches for layered networks with infinite server capacity.

      Throws:
      Exception
    • lqn_twotasks

      public static void lqn_twotasks() throws Exception
      Two-task layered network (lqn_twotasks.ipynb).

      Shows interaction between multiple tasks with synchronous call patterns.

      Throws:
      Exception
    • lqn_bpmn

      public static void lqn_bpmn() throws Exception
      BPMN-style layered network (lqn_bpmn.ipynb).

      Shows fork-join patterns with OrFork, AndFork, OrJoin, and AndJoin activity precedence.

      Throws:
      Exception
    • lqn_function

      public static void lqn_function() throws Exception
      Function-oriented layered network (lqn_function.ipynb).

      Complex enterprise application modeling with multiple user types and request handlers.

      Throws:
      Exception
    • lqn_workflows

      public static void lqn_workflows() throws Exception
      Workflow layered network (lqn_workflows.ipynb).

      Demonstrates loop and fork-join precedence patterns with nested synchronous calls.

      Throws:
      Exception
    • lqn_ofbiz

      public static void lqn_ofbiz() throws Exception
      OFBiz-style layered network (lqn_ofbiz.ipynb).

      Enterprise application model inspired by Apache OFBiz with database and application layers.

      Throws:
      Exception
    • lqn_sockshop

      public static void lqn_sockshop() throws Exception
      Sock Shop microservice layered network (lqn_sockshop).

      Demonstrates a multi-tier microservice architecture with processor replication, fan-in/fan-out, and PS scheduling.

      Throws:
      Exception
    • main

      public static void main(String[] args) throws Exception
      Main method demonstrating selected layered network examples.
      Throws:
      Exception