Class: Statsig::Interfaces::IDataStore

Inherits:
Object
  • Object
show all
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

Instance Method Details

#get(key) ⇒ Object



11
12
13
# File 'lib/interfaces/data_store.rb', line 11

def get(key)
  nil
end

#initObject



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

Parameters:

  • key

    Key of stored item to poll from data adapter



26
27
# File 'lib/interfaces/data_store.rb', line 26

def should_be_used_for_querying_updates(key)
end

#shutdownObject



18
19
# File 'lib/interfaces/data_store.rb', line 18

def shutdown
end