reformat source code

according to code styles, 'AccessModifierOffset' should be -2.
This commit is contained in:
gm
2021-06-16 15:48:42 +08:00
committed by MizuhaHimuraki
parent 8c4a2f26a6
commit 4a92b6d7df
3314 changed files with 23131 additions and 23401 deletions

View File

@ -19,15 +19,15 @@ namespace oceanbase {
namespace storage {
class ObTenantMetaMemoryMgr {
public:
public:
int init();
// need update when the schema_version or memory_size has been changed
int try_update_tenant_info(const uint64_t tenant_id, const int64_t schema_version);
static ObTenantMetaMemoryMgr& get_instance();
private:
private:
struct TenantInfo {
public:
public:
TenantInfo() : schema_version_(0), memory_size_(0)
{}
TenantInfo(const int64_t schema_version, const int64_t memory_size)
@ -47,7 +47,7 @@ class ObTenantMetaMemoryMgr {
virtual ~ObTenantMetaMemoryMgr();
void destroy();
private:
private:
lib::ObMutex lock_;
// key: tenant_id
common::hash::ObHashMap<uint64_t, TenantInfo, common::hash::NoPthreadDefendMode> tenant_meta_memory_map_;