Changeset 8525
- Timestamp:
- 03/30/08 23:28:25 (5 years ago)
- Location:
- lang/perl/Cache-Memcached-libmemcached/trunk
- Files:
-
- 2 added
- 1 modified
-
lib/Cache/Memcached/libmemcached.pm (modified) (2 diffs)
-
t/15_distribution_method.t (added)
-
t/16_hashing_algorithm.t (added)
Legend:
- Unmodified
- Added
- Removed
-
lang/perl/Cache-Memcached-libmemcached/trunk/lib/Cache/Memcached/libmemcached.pm
r8524 r8525 74 74 # behavior options 75 75 $self->set_no_block( $args->{no_block} ) if exists $args->{no_block}; 76 $self->set_hashing_algorithm( $args->{hashing_algorithm} ) if exists $args->{hashing_algorithm}; 77 $self->set_distribution_method( $args->{distribution_method} ) if exists $args->{distribution_method}; 76 78 77 79 return $self; … … 251 253 use Cache::Memcached::libmemcached qw(MEMCACHED_DISTRIBUTION_CONSISTENT); 252 254 $memd->set_distribution_method(MEMCACHED_DISTRIBUTION_CONSISTENT()); 253 255 256 # Extra constructor options that are not in Cache::Memcached 257 # See Memcached::libmemcached::constants for a list of available options 258 my $memd = Cache::Memcached::libmemcached->new({ 259 ..., 260 no_block => $boolean, 261 distribution_method => $distribution_method, 262 hashing_algorithm => $hashing_algorithm, 263 }); 254 264 255 265 =head1 DESCRIPTION
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)