Browse files

Support for add_pool_from_ring() #1

  • Loading branch information...
1 parent 3e512ff commit 5a7416351c4d5760b9a9f3a3c45820ff950ed632 @jcbf jcbf committed Feb 7, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/Cassandra/Simple.pm
View
1 lib/Cassandra/Simple.pm
@@ -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;

0 comments on commit 5a74163

Please sign in to comment.