Example #1
0
    public void Update(url Url, timestamp Timestamp)
    {
        if (Url.Valid())
        {
            Registry.Increment(Url.GetSection());

            string outKey = KeyCache.Put(Url.GetSection());
            if (outKey != null)
            {
                Registry.Remove(outKey);
            }
        }

        if (Timestamp.Valid())
        {
            queue.Enqueue(Timestamp.GetValue());
        }
    }