cache_entry_roles.h 586 B

1234567891011121314151617181920
  1. // Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
  2. // This source code is licensed under both the GPLv2 (found in the
  3. // COPYING file in the root directory) and Apache 2.0 License
  4. // (found in the LICENSE.Apache file in the root directory).
  5. #pragma once
  6. #include <array>
  7. #include <cstdint>
  8. #include "rocksdb/cache.h"
  9. namespace ROCKSDB_NAMESPACE {
  10. extern std::array<std::string, kNumCacheEntryRoles>
  11. kCacheEntryRoleToCamelString;
  12. extern std::array<std::string, kNumCacheEntryRoles>
  13. kCacheEntryRoleToHyphenString;
  14. } // namespace ROCKSDB_NAMESPACE