Skip to content

Commit

Permalink
Support for add_pool_from_ring() #1
Browse files Browse the repository at this point in the history
  • Loading branch information
jcbf committed Feb 7, 2012
1 parent 3e512ff commit 5a74163
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Cassandra/Simple.pm
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ has 'server_name' => ( is => 'rw', isa => 'Str', default => '127.0.0.1' );
has 'server_port' => ( is => 'rw', isa => 'Int', default => 9160 );

has 'username' => ( is => 'rw', isa => 'Str', default => '' );
has 'pool_from_ring' => ( is => 'rw', isa => 'Any', trigger => sub { my $self = shift; $self->pool->add_pool_from_ring() if shift });

use 5.010;
use Cassandra::Cassandra;
Expand Down

0 comments on commit 5a74163

Please sign in to comment.