proxygen
ReplayCache.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) 2018-present, Facebook, Inc.
3  * All rights reserved.
4  *
5  * This source code is licensed under the BSD-style license found in the
6  * LICENSE file in the root directory of this source tree.
7  */
8 
9 #pragma once
10 
11 #include <folly/Range.h>
12 #include <folly/futures/Future.h>
13 
14 namespace fizz {
15 namespace server {
16 
22 };
23 }
24 
26 
27 namespace server {
28 
33 class ReplayCache {
34  public:
35  virtual ~ReplayCache() = default;
36 
38  folly::ByteRange identifier) = 0;
39 };
40 
45  public:
46  ~AllowAllReplayReplayCache() override = default;
47 
50  }
51 };
52 } // namespace server
53 } // namespace fizz
folly::StringPiece toString(StateEnum state)
Definition: State.cpp:16
Definition: Actions.h:16
folly::Future< ReplayCacheResult > check(folly::ByteRange) override
Definition: ReplayCache.h:48
bool check(const dynamic &schema, const dynamic &value, bool check=true)