Linux heracles.o2switch.net 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64
/
opt
/
alt
/
ruby27
/
share
/
ri
/
system
/
Bundler
/
ConnectionPool
/
TimedStack
/
//opt/alt/ruby27/share/ri/system/Bundler/ConnectionPool/TimedStack/cdesc-TimedStack.ri
U:RDoc::NormalClass[iI"TimedStack:ETI"(Bundler::ConnectionPool::TimedStack;TI"Object;To:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[I"Examples:;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim;[I"1ts = TimedStack.new(1) { MyConnection.new } ;TI" ;TI"# fetch a connection ;TI"conn = ts.pop ;TI" ;TI"# return a connection ;TI"ts.push conn ;TI" ;TI"conn = ts.pop ;TI"ts.pop timeout: 5 ;TI".#=> raises Timeout::Error after 5 seconds;T:@format0: @fileI"Jlib/bundler/vendor/connection_pool/lib/connection_pool/timed_stack.rb;T:0@omit_headings_from_table_of_contents_below0; 0;0[[ I"max;TI"R;T:privateFI"Jlib/bundler/vendor/connection_pool/lib/connection_pool/timed_stack.rb;T[ [ [[I" class;T[[:public[ [:protected[ [;[[I"new;T@$[I" instance;T[[;[ [;[ [;[[I"<<;T@$[I"connection_stored?;T@$[I"empty?;T@$[I"fetch_connection;T@$[I"length;T@$[I"pop;T@$[I" push;T@$[I" shutdown;T@$[I"shutdown_connections;T@$[I"store_connection;T@$[I"try_create;T@$[ [U:RDoc::Context::Section[i 0o;;[ ; 0;0[I"Jlib/bundler/vendor/connection_pool/lib/connection_pool/timed_stack.rb;T@cRDoc::TopLevel