lib/kestrel/client.rb in kestrel-client-0.2.4 vs lib/kestrel/client.rb in kestrel-client-0.3.0

- old
+ new

@@ -1,12 +1,14 @@ module Kestrel class Client < Memcached::Rails autoload :Proxy, 'kestrel/client/proxy' autoload :Envelope, 'kestrel/client/envelope' autoload :Blocking, 'kestrel/client/blocking' + autoload :Partitioning, 'kestrel/client/partitioning' autoload :Unmarshal, 'kestrel/client/unmarshal' autoload :Namespace, 'kestrel/client/namespace' autoload :Json, 'kestrel/client/json' + QUEUE_STAT_NAMES = %w{items bytes total_items logsize expired_items mem_items mem_bytes age discarded} def flush(queue) count = 0