Ref #11 added some UML
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
@startuml
|
||||
|
||||
left to right direction
|
||||
skinparam linetype ortho
|
||||
skinparam shadowing false
|
||||
|
||||
package "Before Partition" {
|
||||
rectangle "A\nretry = false" as A
|
||||
rectangle "B\nretry = true" as B
|
||||
rectangle "C\nretry = false" as C
|
||||
rectangle "D\nretry = true" as D
|
||||
|
||||
A --> B : next
|
||||
B --> C : next
|
||||
C --> D : next
|
||||
}
|
||||
|
||||
package "After Partition" {
|
||||
package "Ready Queue" {
|
||||
rectangle "A" as ReadyA
|
||||
rectangle "C" as ReadyC
|
||||
|
||||
ReadyA --> ReadyC : next
|
||||
}
|
||||
|
||||
package "Retry Queue" {
|
||||
rectangle "B" as RetryB
|
||||
rectangle "D" as RetryD
|
||||
|
||||
RetryB --> RetryD : next
|
||||
}
|
||||
}
|
||||
|
||||
A ..> ReadyA : move
|
||||
B ..> RetryB : move
|
||||
C ..> ReadyC : move
|
||||
D ..> RetryD : move
|
||||
|
||||
@enduml
|
||||
Reference in New Issue
Block a user