Class: Gitlab::Redis::TraceChunks
- Inherits:
-
MultiStoreWrapper
- Object
- Wrapper
- MultiStoreWrapper
- Gitlab::Redis::TraceChunks
- Defined in:
- lib/gitlab/redis/trace_chunks.rb
Constant Summary
Constants inherited from Wrapper
Class Method Summary collapse
-
.config_fallback ⇒ Object
The data we store on TraceChunks used to be stored on SharedState.
- .multistore ⇒ Object
Methods inherited from MultiStoreWrapper
multistore_pool, pool_name, with
Methods inherited from Wrapper
config_file_name, config_file_path, #db, #encrypted_secrets, #initialize, instrumentation_class, #params, params, pool, pool_size, rails_root, redis, redis_yml_path, #secret_file, #sentinels, #sentinels?, #store, store_name, #url, version, with
Constructor Details
This class inherits a constructor from Gitlab::Redis::Wrapper
Class Method Details
.config_fallback ⇒ Object
The data we store on TraceChunks used to be stored on SharedState.
8 9 10 |
# File 'lib/gitlab/redis/trace_chunks.rb', line 8 def config_fallback SharedState end |
.multistore ⇒ Object
12 13 14 |
# File 'lib/gitlab/redis/trace_chunks.rb', line 12 def multistore MultiStore.create_using_pool(MemoryStoreTraceChunks.pool, pool, store_name) end |