def store(token)
      if token
        now = Time.now.to_i
        if @cache.has_key?(token)
          @cache[token] = now
          @lru.push(@lru.delete(token))
        else
          @cache[token] = now
          @lru.push(token)
          @cache.delete(@lru.shift) while (now - @cache[@lru.first]) > @max_age
        end
      end
      true
    end
def store(token)
      if token
        now = Time.now.to_i
        if @cache.has_key?(token)
          @cache[token] = now
          @lru.push(@lru.delete(token))
        else
          @cache[token] = now
          @lru.push(token)
          @cache.delete(@lru.shift) while (now - @cache[@lru.first]) > @max_age
        end
      end
      true
    end
Initialize cache

 === Parameters
 identity(String):: Serialized identity of agent
 Store dispatched request token in cache

 === Parameters
 token(String):: Generated message identifier

 === Return
 true:: Always return true