forked from iabudiab/ObjectiveRocks
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathRocksDBProperties.h
41 lines (37 loc) · 1.18 KB
/
RocksDBProperties.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
//
// RocksDBProperties.h
// ObjectiveRocks
//
// Created by Iska on 04/01/15.
// Copyright (c) 2015 BrainCookie. All rights reserved.
//
#import <Foundation/Foundation.h>
typedef NS_ENUM(NSUInteger, RocksDBProperty)
{
RocksDBPropertyNumFilesAtLevel,
RocksDBPropertyStats,
RocksDBPropertySsTables,
RocksDBPropertyCFStats,
RocksDBPropertyDBStats,
};
typedef NS_ENUM(NSUInteger, RocksDBIntProperty)
{
RocksDBIntPropertyNumImmutableMemTable,
RocksDBIntPropertyMemtableFlushPending,
RocksDBIntPropertyCompactionPending,
RocksDBIntPropertyBackgroundErrors,
RocksDBIntPropertyCurSizeActiveMemTable,
RocksDBIntPropertyCurSizeAllMemTables,
RocksDBIntPropertyNumDeletesActiveMemtable,
RocksDBIntPropertyNumDeletesImmutableMemtables,
RocksDBIntPropertyNumEntriesActiveMemtable,
RocksDBIntPropertyNumEntriesImmutableMemtables,
RocksDBIntPropertyEstimatedNumKeys,
RocksDBIntPropertyEstimatedUsageByTableReaders,
RocksDBIntPropertyIsFileDeletionEnabled,
RocksDBIntPropertyNumSnapshots,
RocksDBIntPropertyOldestSnapshotTime,
RocksDBIntPropertyNumLiveVersions
};
extern NSString * ResolveProperty(RocksDBProperty property);
extern NSString * ResolveIntProperty(RocksDBIntProperty property);