internal GrainDirectoryCacheEntry(ActivationAddress value, int etag, TimeSpan expirationTimer) { Address = value; ETag = etag; ExpirationTimer = expirationTimer; LastRefreshed = CoarseStopwatch.StartNew(); NumAccesses = 0; }
internal void Refresh(TimeSpan newExpirationTimer) { LastRefreshed = CoarseStopwatch.StartNew(); ExpirationTimer = newExpirationTimer; }