Linux lorencats.com 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l
Apache/2.4.59 (Raspbian)
: 10.0.0.29 | : 216.73.216.130
Cant Read [ /etc/named.conf ]
7.3.31-1~deb10u7
root
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
lib /
ruby /
vendor_ruby /
concurrent /
executor /
[ HOME SHELL ]
Name
Size
Permission
Action
abstract_executor_service.rb
3.29
KB
-rw-r--r--
cached_thread_pool.rb
2.58
KB
-rw-r--r--
executor_service.rb
5.65
KB
-rw-r--r--
fixed_thread_pool.rb
9.57
KB
-rw-r--r--
immediate_executor.rb
1.8
KB
-rw-r--r--
indirect_immediate_executor.rb
1.54
KB
-rw-r--r--
java_executor_service.rb
2.5
KB
-rw-r--r--
java_single_thread_executor.rb
919
B
-rw-r--r--
java_thread_pool_executor.rb
3.99
KB
-rw-r--r--
ruby_executor_service.rb
1.49
KB
-rw-r--r--
ruby_single_thread_executor.rb
607
B
-rw-r--r--
ruby_thread_pool_executor.rb
9.98
KB
-rw-r--r--
safe_task_executor.rb
1.01
KB
-rw-r--r--
serial_executor_service.rb
991
B
-rw-r--r--
serialized_execution.rb
2.73
KB
-rw-r--r--
serialized_execution_delegator...
859
B
-rw-r--r--
simple_executor_service.rb
2.57
KB
-rw-r--r--
single_thread_executor.rb
2.47
KB
-rw-r--r--
thread_pool_executor.rb
4.19
KB
-rw-r--r--
timer_set.rb
5.92
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : cached_thread_pool.rb
require 'concurrent/utility/engine' require 'concurrent/executor/thread_pool_executor' module Concurrent # A thread pool that dynamically grows and shrinks to fit the current workload. # New threads are created as needed, existing threads are reused, and threads # that remain idle for too long are killed and removed from the pool. These # pools are particularly suited to applications that perform a high volume of # short-lived tasks. # # On creation a `CachedThreadPool` has zero running threads. New threads are # created on the pool as new operations are `#post`. The size of the pool # will grow until `#max_length` threads are in the pool or until the number # of threads exceeds the number of running and pending operations. When a new # operation is post to the pool the first available idle thread will be tasked # with the new operation. # # Should a thread crash for any reason the thread will immediately be removed # from the pool. Similarly, threads which remain idle for an extended period # of time will be killed and reclaimed. Thus these thread pools are very # efficient at reclaiming unused resources. # # The API and behavior of this class are based on Java's `CachedThreadPool` # # @!macro thread_pool_options class CachedThreadPool < ThreadPoolExecutor # @!macro [attach] cached_thread_pool_method_initialize # # Create a new thread pool. # # @param [Hash] opts the options defining pool behavior. # @option opts [Symbol] :fallback_policy (`:abort`) the fallback policy # # @raise [ArgumentError] if `fallback_policy` is not a known policy # # @see http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/Executors.html#newCachedThreadPool-- def initialize(opts = {}) defaults = { idletime: DEFAULT_THREAD_IDLETIMEOUT } overrides = { min_threads: 0, max_threads: DEFAULT_MAX_POOL_SIZE, max_queue: DEFAULT_MAX_QUEUE_SIZE } super(defaults.merge(opts).merge(overrides)) end private # @!macro cached_thread_pool_method_initialize # @!visibility private def ns_initialize(opts) super(opts) if Concurrent.on_jruby? @max_queue = 0 @executor = java.util.concurrent.Executors.newCachedThreadPool @executor.setRejectedExecutionHandler(FALLBACK_POLICY_CLASSES[@fallback_policy].new) @executor.setKeepAliveTime(opts.fetch(:idletime, DEFAULT_THREAD_IDLETIMEOUT), java.util.concurrent.TimeUnit::SECONDS) self.auto_terminate = opts.fetch(:auto_terminate, true) end end end end
Close