Class: Dalli::Protocol::Meta

Inherits:
Base
  • Object
show all
Defined in:
lib/dalli/protocol/meta.rb,
lib/dalli/protocol/meta/key_regularizer.rb,
lib/dalli/protocol/meta/request_formatter.rb,
lib/dalli/protocol/meta/response_processor.rb

Overview

Access point for a single Memcached server, accessed via Memcached’s meta protocol. Contains logic for managing connection state to the server (retries, etc), formatting requests to the server, and unpacking responses.

Defined Under Namespace

Classes: KeyRegularizer, RequestFormatter, ResponseProcessor

Constant Summary collapse

TERMINATOR =
"\r\n"

Instance Attribute Summary

Attributes inherited from Base

#options, #weight

Instance Method Summary collapse

Methods inherited from Base

#alive?, #initialize, #lock!, #password, #pipeline_abort, #pipeline_complete?, #pipeline_next_responses, #pipeline_response_setup, #quiet?, #request, #require_auth?, #unlock!, #username

Constructor Details

This class inherits a constructor from Dalli::Protocol::Base

Instance Method Details

#response_processorObject



17
18
19
# File 'lib/dalli/protocol/meta.rb', line 17

def response_processor
  @response_processor ||= ResponseProcessor.new(@connection_manager, @value_marshaller)
end