class Vizkit::ThreadPoolItem

Public Class Methods

new(thread_pool,options = Hash.new) click to toggle source
Calls superclass method Vizkit::VizkitItem.new
# File lib/vizkit/vizkit_items.rb, line 1125
def initialize(thread_pool,options = Hash.new)
    @options = Kernel.validate_options options,:item_type => :label
    if @options[:item_type] == :label
        super "ThreadPool"
        add_accessor_item(thread_pool,:min,:max,:spawned,:waiting,:auto_trim)
    else
        super()
    end
end