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  -  DATA::OBJECTDRIVER::DRIVER::MULTIPLEXER (3)

.ds Aq ’

NAME

Data::ObjectDriver::Driver::Multiplexer - Multiplex multiple partitioned drivers

CONTENTS

SYNOPSIS



    package MappingTable;

    use Foo;
    use Bar;

    my $foo_driver = Foo->driver;
    my $bar_driver = Bar->driver;

    __PACKAGE__->install_properties({
        columns => [ qw( foo_id bar_id value ) ],
        primary_key => foo_id,
        driver => Data::ObjectDriver::Driver::Multiplexer->new(
            on_search => {
                foo_id => $foo_driver,
                bar_id => $bar_driver,
            },
            on_lookup => $foo_driver,
            drivers => [ $foo_driver, $bar_driver ],
        ),
    });



DESCRIPTION

Data::ObjectDriver::Driver::Multiplexer associates a set of drivers to a particular class. In practice, this means that all INSERTs and DELETEs are propagated to all associated drivers (for example, all associated databases or tables in a database), and that SELECTs are sent to the appropriate multiplexed driver, based on partitioning criteria.

Note that this driver has the following limitations currently:
1. It’s very experimental.
2. It’s very experimental.
3. IT’S VERY EXPERIMENTAL.
4. This documentation you’re reading is incomplete. the api is likely to evolve

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


perl v5.20.3 DATA::OBJECTDRIVER::DRIVER::MULTIPLEXER (3) 2016-01-14

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