lib/memcached-server/memcache.rb
def store_item(key, flags, exptime, bytes, data_block)

            item = Item.new(key, flags, exptime, bytes, data_block)
            item.update_cas_id()
            item.lock.synchronize do
                
                @storage.store(key, item) unless item.expired?()

            end

        end
# Stores a MemcachedServer::Item, with the attributes recieved by param, in @storage
# Before storing the MemcachedServer::Item it updates it's cas_id
# 
# @param key [String] The key of the item to store
# @param flags [Integer] Is an arbitrary unsigned integer (written out in decimal)
# @param exptime [Integer] The exptime of the Item to store
# @param bytes [Integer] The byte size of <data_block>
# @param data_block [String] Is a chunk of arbitrary 8-bit data of length <bytes>
Stores a MemcachedServer::Item, with the attributes recieved by param, in @storage
Before storing the MemcachedServer::Item it updates it's cas_id
Stores a MemcachedServer :: Item with the attributes recieved by param in @storage Before storing the MemcachedServer :: Item it updates it ' s cas_id
def store_item(key, flags, exptime, bytes, data_block)
            item = Item.new(key, flags, exptime, bytes, data_block)
            item.update_cas_id()
            item.lock.synchronize do
                @storage.store(key, item) unless item.expired?()
            end
        end
def store_item ( key , flags , exptime , bytes , data_block ) item = Item . new ( key , flags , exptime , bytes , data_block ) item . update_cas_id ( ) item . lock . synchronize do @storage . store ( key , item ) unless item . expired? ( ) end end
Stores a MemcachedServer::Item, with the attributes recieved by param, in @storage
Before storing the MemcachedServer::Item it updates it's cas_id
Stores a MemcachedServer :: Item with the attributes recieved by param in @storage Before storing the MemcachedServer :: Item it updates it ' s cas_id
key
The key of the item to store
The key of the item to store
flags
None
exptime
The exptime of the Item to store
The exptime of the Item to store
bytes
The byte size of 
The byte size of
data_block
None