Class: OpenWFE::Extras::ThreadedDbExpressionStorage
- Inherits:
-
DbExpressionStorage
- Object
- DbExpressionStorage
- OpenWFE::Extras::ThreadedDbExpressionStorage
- Includes:
- ThreadedStorageMixin
- Defined in:
- lib/openwfe/extras/expool/dbexpstorage.rb
Overview
A DbExpressionStorage that does less work, for more performance, thanks to the ThreadedStorageMixin.
Instance Method Summary collapse
-
#initialize(service_name, application_context) ⇒ ThreadedDbExpressionStorage
constructor
A new instance of ThreadedDbExpressionStorage.
Methods inherited from DbExpressionStorage
#[], #[]=, #delete, #fetch_root, #find_expressions, #has_key?, #purge, #size
Constructor Details
#initialize(service_name, application_context) ⇒ ThreadedDbExpressionStorage
Returns a new instance of ThreadedDbExpressionStorage.
343 344 345 346 347 348 349 350 |
# File 'lib/openwfe/extras/expool/dbexpstorage.rb', line 343 def initialize (service_name, application_context) super start_queue # # which sets @thread_id end |