Class: ScheduledThreadPoolExecutor

Inherits:
AudienceDeserializer show all
Defined in:
lib/scheduled_thread_pool_executor.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#logObject

Returns the value of attribute log.



6
7
8
# File 'lib/scheduled_thread_pool_executor.rb', line 6

def log
  @log
end

#readerObject

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