/// <inheritdoc />
        protected override bool IsStaleRead(NearCacheEntry entry)
        {
            // do not manage invalidation = cannot be stale
            if (!IsInvalidating)
            {
                return(false);
            }

            // otherwise, check meta data
            var metadata = RepairingHandler.GetMetadata(entry.PartitionId);

            return(entry.Guid != metadata.Guid || entry.Sequence < metadata.StaleSequence);
        }
 /// <summary>
 /// Determines whether a cached entry is stale.
 /// </summary>
 /// <param name="entry">The entry.</param>
 /// <returns>Whether the entry is stale.</returns>
 protected virtual bool IsStaleRead(NearCacheEntry entry) => false;