#+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]]
