lib/dalli/protocol/binary/response_processor.rb
##
# Response for a storage operation.  Returns the cas on success.  False
# if the value wasn't stored.  And raises an error on all other error
# codes from memcached.
##
Response for a storage operation.  Returns the cas on success.  False
if the value wasn't stored.  And raises an error on all other error
codes from memcached.
Response for a storage operation . Returns the cas on success . False if the value wasn ' t stored . And raises an error on all other error codes from memcached .
def storage_response
          resp_header, = read_response
          return nil if resp_header.not_found?
          return false if resp_header.not_stored? 
          raise_on_not_ok!(resp_header)
          resp_header.cas
        end
def storage_response resp_header , = read_response return nil if resp_header . not_found? return false if resp_header . not_stored? raise_on_not_ok! ( resp_header ) resp_header . cas end
Response for a storage operation.
Response for a storage operation .
# Not stored, normal status for add operation