This repository has been archived on 2025-02-09. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
2024-1/Ingenieria de Software/casorealSingleton.org
2024-05-07 18:33:25 -03:00

19 lines
321 B
Org Mode

#+title: Plantuml: Singleron
#+begin_src plantuml :file singleton.png
class LoadBalancer <<Singleton>>{
- instance: LoadBalancer
- servers: List<String>
- random: Random
- locker: Object
# LoadBalancer()
+ Server {get()} : string
+ GetLoadBalancer(): LoadBalancer
}
#+end_src
#+RESULTS:
[[file:singleton.png]]