Re-sync with internal repository
[hiphop-php.git] / third-party / mcrouter / src / mcrouter / routes / McRouteHandleProvider-FailoverRoute.cpp
blob93bc8107fa292517acec03cdbd289e5bbb99e812
1 /*
2 * Copyright (c) Meta Platforms, Inc. and affiliates.
4 * This source code is licensed under the MIT license found in the
5 * LICENSE file in the root directory of this source tree.
6 */
8 #include "mcrouter/routes/McRouteHandleProvider.h"
10 #include <mcrouter/routes/FailoverRoute.h>
12 namespace facebook {
13 namespace memcache {
14 namespace mcrouter {
16 template MemcacheRouterInfo::RouteHandlePtr
17 makeFailoverRouteWithFailoverErrorSettings<
18 MemcacheRouterInfo,
19 FailoverRoute,
20 FailoverErrorsSettings>(
21 const folly::dynamic& json,
22 std::vector<MemcacheRouterInfo::RouteHandlePtr> children,
23 FailoverErrorsSettings failoverErrors,
24 const folly::dynamic* jFailoverPolicy);
26 } // namespace mcrouter
27 } // namespace memcache
28 } // namespace facebook