Hello Tidy Bot, Andrew Wong, Adar Dembo, Hao Hao,

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/13201

to look at the new patch set (#7).

Change subject: [TTL cache] add periodic scrubbing thread
......................................................................

[TTL cache] add periodic scrubbing thread

This patch adds an optional periodic scrubbing thread for the TTLCache.
If enabled, the thread invalidates expired entries, effectively evicting
them from the cache.  With this patch, the TTLCache evicts expired
entries not only during the insertion of new ones if the cache is at its
capacity, but also upon detection of an entry's expiry by the scrubbing
thread.

Added corresponding test coverage as well.

Change-Id: Ib3bbbcf6211930a5501a03d6a47f3d911118946c
---
M src/kudu/util/ttl_cache-test.cc
M src/kudu/util/ttl_cache.h
2 files changed, 253 insertions(+), 11 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/01/13201/7
--
To view, visit http://gerrit.cloudera.org:8080/13201
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Ib3bbbcf6211930a5501a03d6a47f3d911118946c
Gerrit-Change-Number: 13201
Gerrit-PatchSet: 7
Gerrit-Owner: Alexey Serbin <aser...@cloudera.com>
Gerrit-Reviewer: Adar Dembo <a...@cloudera.com>
Gerrit-Reviewer: Alexey Serbin <aser...@cloudera.com>
Gerrit-Reviewer: Andrew Wong <aw...@cloudera.com>
Gerrit-Reviewer: Hao Hao <hao....@cloudera.com>
Gerrit-Reviewer: Tidy Bot (241)

Reply via email to