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, #each, #each_of_kind, #has_key?, #purge, #size
Constructor Details
#initialize(service_name, application_context) ⇒ ThreadedDbExpressionStorage
Returns a new instance of ThreadedDbExpressionStorage.
257 258 259 260 261 262 263 264 |
# File 'lib/openwfe/extras/expool/dbexpstorage.rb', line 257 def initialize (service_name, application_context) super start_processing_thread() # # which sets @thread_id end |