Sha256: b0171202e15c2cd73b5b1122e6dda0f9245d7e7e85076381241dc455ae851aaa

Contents?: true

Size: 935 Bytes

Versions: 17

Compression:

Stored size: 935 Bytes

Contents

# encoding: utf-8
# This file is distributed under Ting Yun's license terms.
require 'ting_yun/agent/instance_methods/start'
require 'ting_yun/agent/instance_methods/connect'
require 'ting_yun/agent/instance_methods/start_worker_thread'
require 'ting_yun/agent/instance_methods/container_data_manager'

module TingYun
  module Agent
    module InstanceMethods

      include Start
      include Connect
      include ContainerDataManager
      include StartWorkerThread



      def reset_to_default_configuration
        TingYun::Agent.config.remove_config_type(:manual)
        TingYun::Agent.config.remove_config_type(:server)
      end

      def stop_event_loop
        @event_loop.stop if @event_loop
      end


      def push_trace_execution_flag(flag =false)
        TransactionState.tl_get.push_traced(flag)
      end

      def pop_trace_execution_flag
        TransactionState.tl_get.pop_traced
      end

    end
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
tingyun_rpm-3.2.0 lib/ting_yun/agent/instance_methods.rb
tingyun_rpm-1.6.1 lib/ting_yun/agent/instance_methods.rb
tingyun_rpm-1.5.0 lib/ting_yun/agent/instance_methods.rb
tingyun_rpm-1.4.2 lib/ting_yun/agent/instance_methods.rb
tingyun_rpm-1.4.1 lib/ting_yun/agent/instance_methods.rb
tingyun_rpm-1.3.1 lib/ting_yun/agent/instance_methods.rb
tingyun_rpm-1.3.0 lib/ting_yun/agent/instance_methods.rb
tingyun_rpm-1.2.0 lib/ting_yun/agent/instance_methods.rb
tingyun_rpm-1.1.4.2 lib/ting_yun/agent/instance_methods.rb
tingyun_rpm-1.1.4.1 lib/ting_yun/agent/instance_methods.rb
tingyun_rpm-1.1.4 lib/ting_yun/agent/instance_methods.rb
tingyun_rpm-1.1.3 lib/ting_yun/agent/instance_methods.rb
tingyun_rpm-1.1.2 lib/ting_yun/agent/instance_methods.rb
tingyun_rpm-1.1.1 lib/ting_yun/agent/instance_methods.rb
tingyun_rpm-1.1.0 lib/ting_yun/agent/instance_methods.rb
tingyun_rpm-1.0.7 lib/ting_yun/agent/instance_methods.rb
tingyun_rpm-1.0.6 lib/ting_yun/agent/instance_methods.rb