class Celluloid::Thread - celluloid-0.15.2 Documentation

# class Celluloid::Thread

### Attributes

busy[RW]

### Public Instance Methods

actor() click to toggle source

Obtain the Celluloid::Actor object for this thread

    # File lib/celluloid/thread.rb, line 21
    def actor
      self[:celluloid_actor]
    end

call_chain_id() click to toggle source

Obtain the call chain ID for this thread

    # File lib/celluloid/thread.rb, line 36
    def call_chain_id
      self[:celluloid_chain_id]
    end

celluloid?() click to toggle source

    # File lib/celluloid/thread.rb, line 5
    def celluloid?
      true
    end

mailbox() click to toggle source

Obtain the Celluloid mailbox for this thread

    # File lib/celluloid/thread.rb, line 31
    def mailbox
      self[:celluloid_mailbox]
    end

role() click to toggle source

Obtain the role of this thread

    # File lib/celluloid/thread.rb, line 12
    def role
      self[:celluloid_role]
    end

role=(role) click to toggle source

    # File lib/celluloid/thread.rb, line 16
    def role=(role)
      self[:celluloid_role] = role
    end

task() click to toggle source

Obtain the Celluloid task object for this thread

    # File lib/celluloid/thread.rb, line 26
    def task
      self[:celluloid_task]
    end