예제 #1
0
        public bool RemoveCache(BoundPeer peer)
        {
            KBucket bucket = BucketOf(peer);

            return(bucket.ReplacementCache.TryRemove(peer, out var dateTimeOffset));
        }
예제 #2
0
        internal bool RemoveCache(BoundPeer peer)
        {
            KBucket bucket = BucketOf(peer);

            return(bucket.ReplacementCache.TryRemove(peer, out var _));
        }