Class LayeredExamples
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 -
Method Summary
Modifier and TypeMethodDescriptionstatic voidBasic layered network (lqn_basic.ipynb).static voidlqn_bpmn()BPMN-style layered network (lqn_bpmn.ipynb).static voidFunction-oriented layered network (lqn_function.ipynb).static voidMulti-solver layered network (lqn_multi_solvers.ipynb).static voidOFBiz-style layered network (lqn_ofbiz.ipynb).static voidSerial layered network (lqn_serial.ipynb).static voidSock Shop microservice layered network (lqn_sockshop).static voidTwo-task layered network (lqn_twotasks.ipynb).static voidWorkflow layered network (lqn_workflows.ipynb).static voidMain method demonstrating selected layered network examples.
-
Constructor Details
-
LayeredExamples
public LayeredExamples()
-
-
Method Details
-
lqn_basic
Basic layered network (lqn_basic.ipynb).Demonstrates fundamental layered network concepts with processors, tasks, and activity precedence.
- Throws:
Exception
-
lqn_serial
Serial layered network (lqn_serial.ipynb).Shows serial activity precedence in layered networks with synchronous call patterns.
- Throws:
Exception
-
lqn_multi_solvers
Multi-solver layered network (lqn_multi_solvers.ipynb).Demonstrates different solver approaches for layered networks with infinite server capacity.
- Throws:
Exception
-
lqn_twotasks
Two-task layered network (lqn_twotasks.ipynb).Shows interaction between multiple tasks with synchronous call patterns.
- Throws:
Exception
-
lqn_bpmn
BPMN-style layered network (lqn_bpmn.ipynb).Shows fork-join patterns with OrFork, AndFork, OrJoin, and AndJoin activity precedence.
- Throws:
Exception
-
lqn_function
Function-oriented layered network (lqn_function.ipynb).Complex enterprise application modeling with multiple user types and request handlers.
- Throws:
Exception
-
lqn_workflows
Workflow layered network (lqn_workflows.ipynb).Demonstrates loop and fork-join precedence patterns with nested synchronous calls.
- Throws:
Exception
-
lqn_ofbiz
OFBiz-style layered network (lqn_ofbiz.ipynb).Enterprise application model inspired by Apache OFBiz with database and application layers.
- Throws:
Exception
-
lqn_sockshop
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
Main method demonstrating selected layered network examples.- Throws:
Exception
-