Class: OpenWFE::Extras::ThreadedDbExpressionStorage

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

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.



335
336
337
338
339
340
341
342
# File 'lib/openwfe/extras/expool/dbexpstorage.rb', line 335

def initialize (service_name, application_context)

    super

    start_processing_thread()
        #
        # which sets @thread_id
end