GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  RESOURCEPOOL::UML (3)

.ds Aq ’

NAME

ResourcePool::UML - UML diagram for the ResourcePool package

CONTENTS

SYNOPSIS

This UML Diagram uses DBI as an example Resource. Other Resources are handled in the same way.



              +---------------------------------+
              | ResourcePool::LoadBalancer      |
              +---------------------------------+
              +---------------------------------+
              | +new(key, options)              |
              | +add_pool(pool, options)        |
              +---------------------------------+
                                |
                                |
                                V      +---------------+
              +------------------------+ PlainResource |
              | ResourcePool           +--------+------+
              +---------------------------------+
              | -factory: ResourcePool::Factory +--+
           +--+ -pool: ResourcePool::Resource   |  |
           |  +---------------------------------+  |
           |  | +new(fatory,options)            |  |
           |  | +get():PlainResource            |  |
           |  | +free(plainresource)            |  |
           |  | +fail(plainresource)            |  |
           |  +---------------------------------+  |
           |                    |                  |
           |                   / \                 |
           |  +---------------------------------+  |
           |  | ResourcePool::Singleton         |  |
           |  +---------------------------------+  |
           |  +---------------------------------+  |
           |  +---------------------------------+  |
           V                                       V
 +-----------------------------+  +-----------------------------+
 | ResourcePool::Resource::DBI |  | ResourcePool::Factory::DBI  |
 +-----------------------------+  +-----------------------------+
 | #dbh                        |  | -ds                         |
 +-----------------------------+  | -user                       |
 | +new(ds, user, auth, attr)  |  | -auth                       |
 | +get_plain_resource()       |  | -attr                       |
 | +close()                    |  +-----------------------------+
 | +fail_close()               |  | +new(ds, user, auth, attr)  |
 | +precheck()                 |  | +create_resource()          |
 | +postcheck()                |  +-----------------------------+
 +-----------------------------+                 |
                |                                |
               / \                              / \
 +-----------------------------+  +-----------------------------+
 | ResourcePool::Resource      |  | ResourcePool::Factory       |
 +-----------------------------+  +-----------------------------+
 +-----------------------------+  +-----------------------------+
 | +new()                      |  | +new(key)                   |
 | +get_plain_resource()       |  | +create_Resource()          |
 | +close()                    |  +-----------------------------+
 | +fail_close()               |                 |
 | +precheck()                 |                 |
 | +postcheck()                |                / \
 +-----------------------------+  +-----------------------------+
                                  | ResourcePool::Singleton     |
                                  +-----------------------------+
                                  +-----------------------------+
                                  +-----------------------------+



SEE ALSO

ResourcePool, ResourcePool::Resource::DBI, ResourcePool::Resource::Net::LDAP

AUTHOR



    Copyright (C) 2001-2009 by Markus Winand <mws@fatalmind.com>

    This program is free software; you can redistribute it and/or
    modify it under the same terms as Perl itself.



Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 RESOURCEPOOL::UML (3) 2009-11-25

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.