quickstep-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zu...@apache.org
Subject [14/46] incubator-quickstep git commit: Better comments in eviction policy. (#193)
Date Mon, 16 May 2016 20:55:51 GMT
Better comments in eviction policy. (#193)

Project: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/commit/b9a21b4e
Tree: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/tree/b9a21b4e
Diff: http://git-wip-us.apache.org/repos/asf/incubator-quickstep/diff/b9a21b4e

Branch: refs/heads/master
Commit: b9a21b4e80dc974cce8c35131c5a78ce0526ecfc
Parents: a667722
Author: Marc S <cramja@users.noreply.github.com>
Authored: Tue Apr 26 16:11:08 2016 -0500
Committer: Zuyu ZHANG <zuyu@users.noreply.github.com>
Committed: Tue Apr 26 14:11:08 2016 -0700

----------------------------------------------------------------------
 storage/EvictionPolicy.hpp | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-quickstep/blob/b9a21b4e/storage/EvictionPolicy.hpp
----------------------------------------------------------------------
diff --git a/storage/EvictionPolicy.hpp b/storage/EvictionPolicy.hpp
index 0552916..ae2a258 100644
--- a/storage/EvictionPolicy.hpp
+++ b/storage/EvictionPolicy.hpp
@@ -32,6 +32,12 @@
 
 namespace quickstep {
 
+/**
+ * @brief Base class for classes with the responsibility of selecting blocks
+ *        to evict from the buffer pool.
+ * @note  In this class, and its subclasses, block refers to both blocks and
+ *        blobs. From the eviction policy's perspective, they are the same.
+ */
 class EvictionPolicy {
  public:
   enum class Status {


Mime
View raw message