twitter/finagle — pull request #50 by bmatheny (2011-11-30 03:53:16+00:00)
Title: Memcached stats

This implements the zero-arg and n-arg versions of the memcache stats command. It also fixes a bug in the `integration.ClientSpec` test that must have broken with memcached 1.4.8 (comment inline).

There are at least two potential issues with the implementation. First, the response decoding wasn't suitable for decoding stat responses so a new state (along with decoding and response case classes) was introduced to manage this response type. Second, the client implemented stats command throws a `UnsupportedOperationException` for the `PartitionedClient`, since this operation doesn't make sense in that context.

Feedback welcome.