You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@quickstep.apache.org by zu...@apache.org on 2016/05/16 20:55:51 UTC
[14/46] incubator-quickstep git commit: Better comments in eviction
policy. (#193)
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 <cr...@users.noreply.github.com>
Authored: Tue Apr 26 16:11:08 2016 -0500
Committer: Zuyu ZHANG <zu...@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 {