| ResourcePool :: LoadBalancer ResourcePool :: LoadBalancer´Â ResourceSpoolÀÇ·Îµå ¹ë·±¼ÀÔ´Ï´Ù. |
Áö±Ý ´Ù¿î·Îµå |
ResourcePool :: LoadBalancer ¼øÀ§ ¹× ¿ä¾à
- ƯÇã:
- Perl Artistic License
- °Ô½ÃÀÚ À̸§:
- Markus Winand
- °Ô½ÃÀÚ À¥»çÀÌÆ®:
- http://search.cpan.org/~mws/ResourcePool-1.0104/lib/ResourcePool/LoadBalancer.pod
ResourcePool :: LoadBalancer ű×
ResourcePool :: LoadBalancer ¼³¸í
ResourcePool :: LoadBalancer´Â ResourceSpoolÀÇ·Îµå ¹ë·±¼ÀÔ´Ï´Ù. Resourcepool :: LoadBalancer´Â resourcePoolÀÇ·Îµå ¹ë·±¼ÀÔ´Ï´Ù. Synopsis resourcepool :: LoadBalancer¸¦ »ç¿ëÇÕ´Ï´Ù. MY $ LoadBalancer = ResourcePool :: LoadBalancer-> New ( "Key", Maxty => 10); $ loadbalancer-> add_pool ($ some_resourcepool); $ LoadBalancer-> add_pool ($ some_other_resourcepool); $ loadbalancer-> add_pool ($ third_resourcepool); $ Resource = $ LoadBalancer-> get (); # Á¤Ã¥ # ¿¡ µû¶ó ÇϳªÀÇ Ç®¿¡¼ ÀÚ¿øÀ» ¾òÀ¸½Ê½Ã¿À # $ Resource $ LoadBalancer-> ¹«·á ($ ÀÚ¿ø)·Î ¹«¾ð°¡¸¦ÇϽʽÿÀ. # $·Î µ¹¾Æ °¡±â $ loadbalancer-> fail ($ ÀÚ¿ø); # ½ÇÆÐÇÑ ResourceTele ResourcePool :: LoadBalancer´Â ¼º´É ¹× / ¶Ç´Â °¡¿ë¼ºÀ» ³ôÀ̱â À§ÇØ ´Ù¸¥ ResourcePoolÀÇ ¿äûÀ» È®»êÇÏ´Â ÀϹÝÀûÀÎ ¹æ¹ýÀÔ´Ï´Ù .besides resourcePool :: LoadBalancerÀÇ ÀÎÅÍÆäÀ̽º´Â ResourcePoolÀÇ ÀÎÅÍÆäÀ̽º¿Í µ¿ÀÏÇÕ´Ï´Ù. ÀÌ·¸°ÔÇϸé ResourceSpoolÀ» »ç¿ëÇÏ¿© ResourcePool :: LoadBalancer¸¦ »ç¿ëÇÏ¿© Construction (ÇÁ·Î±×·¥ÀÇ Áß¾Ó ÁöÁ¡¿¡¼ º¸°üÇÒ ¼ö ÀÖÀ½)À» »ç¿ëÇÏ¿© ResourcePool :: LoadBalancer¸¦ »ç¿ëÇÏ´Â ÇÁ·Î±×·¥À» º¯°æÇÏ´Â °ÍÀº ¸Å¿ì °£´ÜÇÕ´Ï´Ù. ¿ä±¸ »çÇ× : ¡¤ Perl.
ResourcePool :: LoadBalancer °ü·Ã ¼ÒÇÁÆ®¿þ¾î