Class: ScheduledThreadPoolExecutor
- Inherits:
-
AudienceDeserializer
- Object
- AudienceDeserializer
- ScheduledThreadPoolExecutor
- Defined in:
- lib/scheduled_thread_pool_executor.rb
Instance Attribute Summary collapse
-
#log ⇒ Object
Returns the value of attribute log.
-
#reader ⇒ Object
Returns the value of attribute reader.
Instance Method Summary collapse
- #deserialize(bytes, offset, length) ⇒ Object
-
#initialize(timer = 1) ⇒ ScheduledThreadPoolExecutor
constructor
A new instance of ScheduledThreadPoolExecutor.
Constructor Details
#initialize(timer = 1) ⇒ ScheduledThreadPoolExecutor
Returns a new instance of ScheduledThreadPoolExecutor.
8 9 |
# File 'lib/scheduled_thread_pool_executor.rb', line 8 def initialize(timer = 1) end |
Instance Attribute Details
#log ⇒ Object
Returns the value of attribute log.
6 7 8 |
# File 'lib/scheduled_thread_pool_executor.rb', line 6 def log @log end |
#reader ⇒ Object
Returns the value of attribute reader.
6 7 8 |
# File 'lib/scheduled_thread_pool_executor.rb', line 6 def reader @reader end |
Instance Method Details
#deserialize(bytes, offset, length) ⇒ Object
11 12 13 |
# File 'lib/scheduled_thread_pool_executor.rb', line 11 def deserialize(bytes, offset, length) @reader.read_value(bytes, offset, length) end |