aboutsummaryrefslogtreecommitdiffstats
path: root/vbench/src/vbench/vbench/request_sink.h
blob: 796375c27e361919bc3bd97a812561468f96e641 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#pragma once

#include "analyzer.h"

namespace vbench {

/**
 * Deletes incoming request object. This handler is used to terminate
 * a chain of handlers.
 **/
class RequestSink : public Analyzer
{
public:
    RequestSink();
    void handle(Request::UP request) override;
    void report() override;
};

} // namespace vbench