summaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2021-01-06 13:38:22 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2021-01-06 13:38:22 +0000
commitb1ed9bb59141ad556f376a2cf0c27f982d3b7f79 (patch)
tree48deece3aafa45094cf943cb2f42c12088c5f38c /searchcore
parentdcdb9fc27a3b8468b21c00b1076d84e6f125f1a9 (diff)
Add class description.
Diffstat (limited to 'searchcore')
-rw-r--r--searchcore/src/vespa/searchcore/proton/server/feed_reject_helper.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/server/feed_reject_helper.h b/searchcore/src/vespa/searchcore/proton/server/feed_reject_helper.h
index cb5733e3b93..00a8b3d77ad 100644
--- a/searchcore/src/vespa/searchcore/proton/server/feed_reject_helper.h
+++ b/searchcore/src/vespa/searchcore/proton/server/feed_reject_helper.h
@@ -13,6 +13,10 @@ namespace proton {
class FeedOperation;
class UpdateOperation;
+/**
+ * Tells wether an operation should be blocked when resourcelimits have been reached.
+ * It looks at the operation type and also the content if it is an 'update' operation.
+ */
class FeedRejectHelper {
public:
static bool isRejectableFeedOperation(const FeedOperation & op);