Searched refs:JsKVStore (Results 1 – 7 of 7) sorted by relevance
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributeddata/src/ |
H A D | js_kv_store.cpp | 32 std::map<std::string, JsKVStore::Exec> JsKVStore::onEventHandlers_ = { 33 { "dataChange", JsKVStore::OnDataChange }, 34 { "syncComplete", JsKVStore::OnSyncComplete } 37 std::map<std::string, JsKVStore::Exec> JsKVStore::offEventHandlers_ = { 38 { "dataChange", JsKVStore::OffDataChange }, 39 { "syncComplete", JsKVStore::OffSyncComplete } 61 JsKVStore::JsKVStore(const std::string& storeId) in JsKVStore() function in OHOS::DistributedData::JsKVStore 66 JsKVStore::~JsKVStore() in ~JsKVStore() 111 JsKVStore* kvStore = nullptr; in IsInstanceOf() 592 napi_status JsKVStore::UnRegisterSyncCallback() in UnRegisterSyncCallback() [all …]
|
H A D | js_device_kv_store.cpp | 39 : JsKVStore(storeId) in JsDeviceKVStore() 46 DECLARE_NAPI_FUNCTION("put", JsKVStore::Put), in Constructor() 47 DECLARE_NAPI_FUNCTION("delete", JsKVStore::Delete), in Constructor() 48 DECLARE_NAPI_FUNCTION("putBatch", JsKVStore::PutBatch), in Constructor() 49 DECLARE_NAPI_FUNCTION("deleteBatch", JsKVStore::DeleteBatch), in Constructor() 50 DECLARE_NAPI_FUNCTION("startTransaction", JsKVStore::StartTransaction), in Constructor() 51 DECLARE_NAPI_FUNCTION("commit", JsKVStore::Commit), in Constructor() 52 DECLARE_NAPI_FUNCTION("rollback", JsKVStore::Rollback), in Constructor() 53 DECLARE_NAPI_FUNCTION("enableSync", JsKVStore::EnableSync), in Constructor() 54 DECLARE_NAPI_FUNCTION("setSyncRange", JsKVStore::SetSyncRange), in Constructor() [all …]
|
H A D | js_single_kv_store.cpp | 30 : JsKVStore(storeId) in JsSingleKVStore() 37 DECLARE_NAPI_FUNCTION("put", JsKVStore::Put), in Constructor() 38 DECLARE_NAPI_FUNCTION("delete", JsKVStore::Delete), in Constructor() 39 DECLARE_NAPI_FUNCTION("putBatch", JsKVStore::PutBatch), in Constructor() 40 DECLARE_NAPI_FUNCTION("deleteBatch", JsKVStore::DeleteBatch), in Constructor() 41 DECLARE_NAPI_FUNCTION("startTransaction", JsKVStore::StartTransaction), in Constructor() 42 DECLARE_NAPI_FUNCTION("commit", JsKVStore::Commit), in Constructor() 43 DECLARE_NAPI_FUNCTION("rollback", JsKVStore::Rollback), in Constructor() 44 DECLARE_NAPI_FUNCTION("enableSync", JsKVStore::EnableSync), in Constructor() 45 DECLARE_NAPI_FUNCTION("setSyncRange", JsKVStore::SetSyncRange), in Constructor() [all …]
|
H A D | js_kv_manager.cpp | 91 JsKVStore* kvStore = nullptr; 185 …bool isSingle = JsKVStore::IsInstanceOf(env, argv[2], ctxt->storeId, JsSingleKVStore::Constructor(… in CloseKVStore() 186 …bool isDevice = JsKVStore::IsInstanceOf(env, argv[2], ctxt->storeId, JsDeviceKVStore::Constructor(… in CloseKVStore()
|
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/jskitsimpl/distributeddata/include/ |
H A D | js_kv_store.h | 37 class JsKVStore { 39 explicit JsKVStore(const std::string& storeId); 40 virtual ~JsKVStore();
|
H A D | js_device_kv_store.h | 22 class JsDeviceKVStore : public JsKVStore {
|
H A D | js_single_kv_store.h | 22 class JsSingleKVStore : public JsKVStore {
|