Michael Alan Dorman

NAME

Memcached::Client::Compressor - Abstract Base Class For Memcached::Client Compressor

VERSION

version 2.01

SYNOPSIS

  package NewCompresor;
  use strict;
  use base qw{Memcached::Client::Compressor};

METHODS

new

new() builds a new object. It takes no parameters.

compress_threshold()

Retrieve or change the compress_threshold value.

decompress()

decompress() will do its best to uncompress and/or deserialize the data that has been returned.

compress()

compress() will (if the compression code is loadable) compress the data it is given, and if the data is large enough and the savings significant enough, it will compress it as well.

log

Log the specified message with an appropriate prefix derived from the class name.

AUTHOR

Michael Alan Dorman <mdorman@ironicdesign.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2010 by Michael Alan Dorman.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.