Brian Duggan > Clustericious-Client-0.66 > Clustericious::Client::Meta::Route

Download:
Clustericious-Client-0.66.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source   Latest Release: Clustericious-Client-0.85

NAME ^

Clustericious::Client::Meta::Route - metadata about a route

DESCRIPTION ^

Keep track of metadata about a particular route. This includes documentation and attributes.

SYNOPSIS ^

    my $meta = Clustericious::Client::Meta::Route->new(
            client_class => 'Yars::Client',
            route_name => 'bucket_map,
        );
    $meta->get('auto_failover');

SEE ALSO ^

Clustericious::Client::Meta

set

Set a route attribute.

  $meta->set(auto_failover => 1);

get

Get a route attribute.

 $meta->get('auto_failover');

doc

Get documentation for this route.

set_doc

Set the documentation for a route.

client_class

The class of the client associated with this object.

route_name

The name of the route to which this object refers.

syntax highlighting: