Skip to content

Commit 3bfb284

Browse files
Rob Lyerlymeta-codesync[bot]
authored andcommitted
Create a shared interface/components folder
Summary: I want to centralize all the interface code. Create a components sub-folder and move RAMCacheComponent to it. Reviewed By: AlnisM Differential Revision: D87248435 fbshipit-source-id: c2d0604714a4c3cdbcbf8b6dad0216920683c880
1 parent d43aae6 commit 3bfb284

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

cachelib/cachebench/runner/CacheComponentStressor.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@
2020
#include <folly/executors/CPUThreadPoolExecutor.h>
2121
#include <folly/logging/xlog.h>
2222

23-
#include "cachelib/allocator/RAMCacheComponent.h"
2423
#include "cachelib/cachebench/util/Exceptions.h"
24+
#include "cachelib/interface/components/RAMCacheComponent.h"
2525

2626
using namespace facebook::cachelib::interface;
2727

cachelib/allocator/RAMCacheComponent.cpp renamed to cachelib/interface/components/RAMCacheComponent.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
#include "cachelib/allocator/RAMCacheComponent.h"
17+
#include "cachelib/interface/components/RAMCacheComponent.h"
1818

1919
#include <folly/logging/xlog.h>
2020

cachelib/allocator/tests/RAMCacheComponentTest.cpp renamed to cachelib/interface/components/tests/RAMCacheComponentTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@
1919
#include <gtest/gtest.h>
2020

2121
#include "cachelib/allocator/CacheAllocator.h"
22-
#include "cachelib/allocator/RAMCacheComponent.h"
2322
#include "cachelib/allocator/memory/Slab.h"
23+
#include "cachelib/interface/components/RAMCacheComponent.h"
2424
#include "cachelib/interface/tests/Utils.h"
2525

2626
using namespace ::testing;

0 commit comments

Comments
 (0)