Class: MintPress::OracleWeblogic::ExecuteThread

Inherits:
GenericMbean
  • Object
show all
Includes:
MintLogger, Mixins::Properties, FancyNew, Utils
Defined in:
src/oracle-weblogic/lib/oracle-weblogic/model/individual/execute_thread.rb,
src/oracle-weblogic/lib/oracle-weblogic/model/generated_classes/split_254.rb

Overview

Exposes the runtime state of an execute thread.

Properties (Read/Write)

  • #version ⇒ String (Default Value: Proc.new { self.domain.version })
    Version of weblogic this property is being applied to

    Property Attributes
    • defaultProc.new { self.domain.version }
    
    
    14
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/execute_thread.rb', line 14
    
    property :version, type: String, default: Proc.new { self.domain.version }
  • #transaction ⇒ MintPress::OracleWeblogic::JTATransaction (Default Value: MintPress::OracleWeblogic::JTATransaction.new)
    "Returns the transaction that the execute thread is currently working on\nbehalf of."

    Property Attributes
    • short_name"Transaction"
    • has_setterfalse
    • has_gettertrue
    • has_listerfalse
    • has_creatorfalse
    • read_onlyfalse
    • defaultMintPress::OracleWeblogic::JTATransaction.new
    • easy_skip_candidatetrue
    
    
    42
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/execute_thread.rb', line 42
    
    property :Transaction, type: MintPress::OracleWeblogic::JTATransaction, array: false, hash: false, short_name: "Transaction", has_setter: false, has_getter: true, has_lister: false, has_creator: false, read_only: false, description: "Returns the transaction that the execute thread is currently working on\nbehalf of.", default: MintPress::OracleWeblogic::JTATransaction.new, easy_skip_candidate: true
  • #name ⇒ String (Default Value: "NO_NAME_0")

    Property Attributes
    • default"NO_NAME_0"
    
    
    31
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/generic_mbean.rb', line 31
    
    property :Name, type: String, default: "NO_NAME_0"

Properties (Read Only)

  • #application_name ⇒ String
    "Returns the application name only, without the version number, using the\ncontext class loader of the thread."

    Property Attributes
    • short_name"ApplicationName"
    • has_setterfalse
    • has_gettertrue
    • has_listerfalse
    • has_creatorfalse
    • read_onlytrue
    
    
    17
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/execute_thread.rb', line 17
    
    property :ApplicationName, type: String, array: false, hash: false, short_name: "ApplicationName", has_setter: false, has_getter: true, has_lister: false, has_creator: false, read_only: true, description: "Returns the application name only, without the version number, using the\ncontext class loader of the thread."
  • #application_version ⇒ String
    "Returns the application version using the context class loader of the\nthread."

    Property Attributes
    • short_name"ApplicationVersion"
    • has_setterfalse
    • has_gettertrue
    • has_listerfalse
    • has_creatorfalse
    • read_onlytrue
    
    
    20
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/execute_thread.rb', line 20
    
    property :ApplicationVersion, type: String, array: false, hash: false, short_name: "ApplicationVersion", has_setter: false, has_getter: true, has_lister: false, has_creator: false, read_only: true, description: "Returns the application version using the context class loader of the\nthread."
  • #current_request ⇒ String
    "Returns a String representation of the request this thread is\ncurrently processing."

    Property Attributes
    • short_name"CurrentRequest"
    • has_setterfalse
    • has_gettertrue
    • has_listerfalse
    • has_creatorfalse
    • read_onlytrue
    
    
    23
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/execute_thread.rb', line 23
    
    property :CurrentRequest, type: String, array: false, hash: false, short_name: "CurrentRequest", has_setter: false, has_getter: true, has_lister: false, has_creator: false, read_only: true, description: "Returns a String representation of the request this thread is\ncurrently processing."
  • #last_request ⇒ String
    "Deprecated.\n7.0, 2002-Feb-20 -- current request is what counts most"

    Property Attributes
    • short_name"LastRequest"
    • has_setterfalse
    • has_gettertrue
    • has_listerfalse
    • has_creatorfalse
    • read_onlytrue
    
    
    26
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/execute_thread.rb', line 26
    
    property :LastRequest, type: String, array: false, hash: false, short_name: "LastRequest", has_setter: false, has_getter: true, has_lister: false, has_creator: false, read_only: true, description: "Deprecated.\n7.0, 2002-Feb-20 -- current request is what counts most"
  • #module_name ⇒ String
    "Returns the module name using the context class loader of the thread."

    Property Attributes
    • short_name"ModuleName"
    • has_setterfalse
    • has_gettertrue
    • has_listerfalse
    • has_creatorfalse
    • read_onlytrue
    
    
    28
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/execute_thread.rb', line 28
    
    property :ModuleName, type: String, array: false, hash: false, short_name: "ModuleName", has_setter: false, has_getter: true, has_lister: false, has_creator: false, read_only: true, description: "Returns the module name using the context class loader of the thread."
  • #name ⇒ String
    "Returns the name of the ExecuteThread."

    Property Attributes
    • short_name"Name"
    • has_setterfalse
    • has_gettertrue
    • has_listerfalse
    • has_creatorfalse
    • read_onlytrue
    
    
    30
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/execute_thread.rb', line 30
    
    property :Name, type: String, array: false, hash: false, short_name: "Name", has_setter: false, has_getter: true, has_lister: false, has_creator: false, read_only: true, description: "Returns the name of the ExecuteThread."
  • #serviced_request_total_count ⇒ Integer
    "Returns the number of requests which have been processed by this\nqueue."

    Property Attributes
    • short_name"ServicedRequestTotalCount"
    • has_setterfalse
    • has_gettertrue
    • has_listerfalse
    • has_creatorfalse
    • read_onlytrue
    
    
    33
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/execute_thread.rb', line 33
    
    property :ServicedRequestTotalCount, type: Integer, array: false, hash: false, short_name: "ServicedRequestTotalCount", has_setter: false, has_getter: true, has_lister: false, has_creator: false, read_only: true, description: "Returns the number of requests which have been processed by this\nqueue."
  • #stuck_thread_action_max_stuck_thread_time ⇒ Integer
    "If the thread is stuck, returns the configured max stuck thread time (in\nmilliseconds) of the StuckThreadAction returned in getStuckThreadActionName()."

    Property Attributes
    • short_name"StuckThreadActionMaxStuckThreadTime"
    • has_setterfalse
    • has_gettertrue
    • has_listerfalse
    • has_creatorfalse
    • read_onlytrue
    
    
    36
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/execute_thread.rb', line 36
    
    property :StuckThreadActionMaxStuckThreadTime, type: Integer, array: false, hash: false, short_name: "StuckThreadActionMaxStuckThreadTime", has_setter: false, has_getter: true, has_lister: false, has_creator: false, read_only: true, description: "If the thread is stuck, returns the configured max stuck thread time (in\nmilliseconds) of the StuckThreadAction returned in getStuckThreadActionName()."
  • #stuck_thread_action_name ⇒ String
    "If the thread is stuck, returns the name of the StuckThreadAction whose\nstuck thread max time has been exceeded."

    Property Attributes
    • short_name"StuckThreadActionName"
    • has_setterfalse
    • has_gettertrue
    • has_listerfalse
    • has_creatorfalse
    • read_onlytrue
    
    
    39
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/execute_thread.rb', line 39
    
    property :StuckThreadActionName, type: String, array: false, hash: false, short_name: "StuckThreadActionName", has_setter: false, has_getter: true, has_lister: false, has_creator: false, read_only: true, description: "If the thread is stuck, returns the name of the StuckThreadAction whose\nstuck thread max time has been exceeded."
  • #user ⇒ String
    "Returns the user the execute thread is currently working on behalf of."

    Property Attributes
    • short_name"User"
    • has_setterfalse
    • has_gettertrue
    • has_listerfalse
    • has_creatorfalse
    • read_onlytrue
    
    
    44
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/execute_thread.rb', line 44
    
    property :User, type: String, array: false, hash: false, short_name: "User", has_setter: false, has_getter: true, has_lister: false, has_creator: false, read_only: true, description: "Returns the user the execute thread is currently working on behalf of."
  • #work_manager_name ⇒ String
    "Returns the current WorkManager name."

    Property Attributes
    • short_name"WorkManagerName"
    • has_setterfalse
    • has_gettertrue
    • has_listerfalse
    • has_creatorfalse
    • read_onlytrue
    
    
    46
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/execute_thread.rb', line 46
    
    property :WorkManagerName, type: String, array: false, hash: false, short_name: "WorkManagerName", has_setter: false, has_getter: true, has_lister: false, has_creator: false, read_only: true, description: "Returns the current WorkManager name."
  • #hogger ⇒ [TrueClass,FalseClass]
    "Returns true if the execute thread is being hogged by a\nrequest for much more than the normal execution time as observed by the\nscheduler automatically."

    Property Attributes
    • short_name"Hogger"
    • has_setterfalse
    • has_getterfalse
    • has_listerfalse
    • has_creatorfalse
    • read_onlytrue
    
    
    50
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/execute_thread.rb', line 50
    
    property :Hogger, type: [TrueClass,FalseClass], array: false, hash: false, short_name: "Hogger", has_setter: false, has_getter: false, has_lister: false, has_creator: false, read_only: true, description: "Returns true if the execute thread is being hogged by a\nrequest for much more than the normal execution time as observed by the\nscheduler automatically."
  • #idle ⇒ [TrueClass,FalseClass]
    "Returns true if the execute thread has no work assigned to it."

    Property Attributes
    • short_name"Idle"
    • has_setterfalse
    • has_getterfalse
    • has_listerfalse
    • has_creatorfalse
    • read_onlytrue
    
    
    52
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/execute_thread.rb', line 52
    
    property :Idle, type: [TrueClass,FalseClass], array: false, hash: false, short_name: "Idle", has_setter: false, has_getter: false, has_lister: false, has_creator: false, read_only: true, description: "Returns true if the execute thread has no work assigned to it."
  • #standby ⇒ [TrueClass,FalseClass]
    "Returns true if the execute thread is not a part of the active thread pool"

    Property Attributes
    • short_name"Standby"
    • has_setterfalse
    • has_getterfalse
    • has_listerfalse
    • has_creatorfalse
    • read_onlytrue
    
    
    54
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/execute_thread.rb', line 54
    
    property :Standby, type: [TrueClass,FalseClass], array: false, hash: false, short_name: "Standby", has_setter: false, has_getter: false, has_lister: false, has_creator: false, read_only: true, description: "Returns true if the execute thread is not a part of the active thread pool"
  • #stuck ⇒ [TrueClass,FalseClass]
    "Returns true if the execute thread is stuck working on a\nrequest for more than the configured stuck thread max time."

    Property Attributes
    • short_name"Stuck"
    • has_setterfalse
    • has_getterfalse
    • has_listerfalse
    • has_creatorfalse
    • read_onlytrue
    
    
    57
    # File 'src/oracle-weblogic/lib/oracle-weblogic/model/individual/execute_thread.rb', line 57
    
    property :Stuck, type: [TrueClass,FalseClass], array: false, hash: false, short_name: "Stuck", has_setter: false, has_getter: false, has_lister: false, has_creator: false, read_only: true, description: "Returns true if the execute thread is stuck working on a\nrequest for more than the configured stuck thread max time."

Constant Summary

Constants included from MintLogger

MintLogger::DEBUG, MintLogger::ERROR, MintLogger::FATAL, MintLogger::INFO, MintLogger::UNKNOWN, MintLogger::VERBOSE, MintLogger::WARN

Instance Attribute Summary

Attributes included from Mixins::Properties

#autopush_set_cache, #dynamic_create, #harvest_on_access, #harvest_undefined_only, #harvested, #tree_root

Instance Method Summary collapse

Methods included from Mixins::Properties

#[], #[]=, #add_validate_report_result, #armour_set_property, #array_contains?, #array_is_a?, #check_autopush, #check_stack_overflow, #clone_property_object, #cloner_handle_single_property, #coerce_single, #contains_as_string?, #display_validate_report_result, #double_initialize?, #dump_to_hash, #find_parent, #find_parent_by_identity, #generate_accessor_functions, #get_canonical_renamed, #get_from_opts, #get_my_name, #get_property, #get_property_item, #has?, included, #initialize_validate_report, #inspect, #is_cloned_object?, #is_mintpress_object?, #is_probably_canonical?, #is_set?, #local_debug, #local_info, #local_verbose, #mintpress_property_definitions, #place_object_by_identity, #process_properties, #prop_set?, #property, #property_definitions, #property_details, #property_is_simple_object?, #push_root!, #require_property, #require_update, #retrieve_docstring, #sanitize, #set_map_dirty, #set_property, #set_property_item, #show_short_array, #strip_defaults!, #synchronize, #uncloned_property_definitions, #update_map, #validate, #validate_generic, #validate_properties, #validate_property, #validate_required, #version_allowed?, #weakref

Methods included from MintLogger::Utils::Common

#boolean_val, #has_value?, #no_value?, #nvl, #path_as_symbol, #ruby_level_to_send

Methods included from Utils

#activate_list, #already_traversed, #announce_self, #bean_type, #build_activate_list, #clear_property_sheet_cache, #create_generic, #create_mbean_components, #delete, #destroy_generic, #empty_mbean?, #execute_script, #exists?, #fast_ls_all, #fast_ls_folder, #fast_ls_object, #fast_ls_object_map, #find_cluster, #find_runtime_path_in_rest, #find_server, #full_url, #get, #get_all_self_names, #get_identity, #get_local_wlst_session, #get_matching_self_names, #get_property_from_target, #get_property_from_target_rest, #get_property_from_target_wlst, #get_property_from_target_wlst_impl, #get_property_sheet, #get_rest_item, #get_rest_url_for_parent, #get_rest_url_for_self, #get_servers, #get_servers_rest, #get_servers_wlst, #get_wl_home, #globmatch?, #handle_create, #http_delete, #http_get, #http_post, #http_put, included, #invalidate_session, #is_meta_object?, #longclass, #massage_return, #mbean_components, #mbean_exists?, #mbean_lookup, #mbean_properties, #mbean_to_hash, #meta_list?, #my_short_name, #perform_method_generic, #perform_runtime_call_generic_rest, #perform_runtime_method_generic, #post, #raise_http_exception, #remove, #request_headers, #reset_activate_list, #rest_activate_change, #rest_create_generic, #rest_create_mbean_components, #rest_destroy_self, #rest_edit_url, #rest_has_changes, #rest_idempotent_create, #rest_locked, #rest_nonedit_url, #rest_start_change, #rest_undo_change, #runtime_introspection, #shortclass, #start_with_async, #state_with_net_ping, #stop_with_async, #to_nested, #wlst_cd_to, #wlst_create_generic, #wlst_destroy_self, #wlst_find_object, #wlst_find_parent_object, #wlst_generic_mbean_update_all, #wlst_idempotent_create, #wlst_update_mbean

Methods included from FancyNew

included

Methods inherited from GenericMbean

#create, #destroy, #is_generic, is_generic

Methods included from MBeanUtils

#assign_object_by_identity, #assign_object_by_identity_from, #bean_is_changed?, #dump_metadata, #dump_tree_metadata, #get_item_by_identity_name, #get_item_by_identity_name_from, #get_parent_by_identity_name, #harvest, #harvest_anew, #harvest_item_by_name, #harvest_item_by_type, #harvest_wlst, #harvesters, #harvesting, #longname, #lookup_mintpress_by_mbean, #mbean_by_url, #process_mbeans, #register_mbean_url

Constructor Details

#initialize(opts = {}) ⇒ ExecuteThread

Returns a new instance of ExecuteThread.

Instance Method Details

#import_props_from_modelObject