Class: Statsig::Interfaces::IDataStore
- Inherits:
-
Object
- Object
- Statsig::Interfaces::IDataStore
- Defined in:
- lib/interfaces/data_store.rb
Constant Summary collapse
- CONFIG_SPECS_V2_KEY =
"statsig.dcs_v2"
- ID_LISTS_KEY =
"statsig.id_lists"
Instance Method Summary collapse
- #get(key) ⇒ Object
- #init ⇒ Object
- #set(key, value) ⇒ Object
-
#should_be_used_for_querying_updates(key) ⇒ Object
Determines whether the SDK should poll for updates from the data adapter (instead of Statsig network) for the given key.
- #shutdown ⇒ Object
Instance Method Details
#get(key) ⇒ Object
11 12 13 |
# File 'lib/interfaces/data_store.rb', line 11 def get(key) nil end |
#init ⇒ Object
8 9 |
# File 'lib/interfaces/data_store.rb', line 8 def init end |
#set(key, value) ⇒ Object
15 16 |
# File 'lib/interfaces/data_store.rb', line 15 def set(key, value) end |
#should_be_used_for_querying_updates(key) ⇒ Object
Determines whether the SDK should poll for updates from the data adapter (instead of Statsig network) for the given key
26 27 |
# File 'lib/interfaces/data_store.rb', line 26 def (key) end |
#shutdown ⇒ Object
18 19 |
# File 'lib/interfaces/data_store.rb', line 18 def shutdown end |