Table of Contents - em-pg-client
Pages
- BENCHMARKS
- HISTORY
- LICENSE
-
README
- em-pg-client
- Description
- Features
- Requirements
- Install
- Gemfile
- Github
- Usage
- PG::Connection commands adapted to the EventMachine
- Asynchronous, the EventMachine style:
- Reactor sensing methods, EM-Synchrony style:
- Special options
- Handling errors
- Auto re-connecting in asynchronous mode
- Server-sent notifications - async style
- Connection Pool
- Parallel async queries
- Fiber Concurrency
- API Changes
- 0.2.x -> 0.3.x
- 0.1.x -> 0.2.x
- Bugs/Limitations
- TODO:
- More Info
- Thanks
Classes and Modules
- Object
- PG
- PG::EM
- PG::EM::Client
- PG::EM::Client::ConnectWatcher
- PG::EM::Client::Watcher
- PG::EM::ConnectionPool
- PG::EM::ConnectionPool::DeferredOptions
- PG::EM::FeaturedDeferrable
Methods
- ::async_connect — PG::EM::Client
- ::async_connect — PG::EM::ConnectionPool
- ::connect — PG::EM::Client
- ::connect — PG::EM::ConnectionPool
- ::connect_defer — PG::EM::Client
- ::connect_defer — PG::EM::ConnectionPool
- ::new — PG::EM::Client
- ::new — PG::EM::Client
- ::new — PG::EM::ConnectionPool
- ::new — PG::EM::FeaturedDeferrable
- ::new — PG::EM::Client::ConnectWatcher
- ::new — PG::EM::Client::Watcher
- ::open — PG::EM::Client
- ::parse_async_options — PG::EM::Client
- ::setdb — PG::EM::Client
- ::setdblogin — PG::EM::Client
- ::single_row_mode? — PG::EM::Client
- #acquire — PG::EM::ConnectionPool
- #acquire_deferred — PG::EM::ConnectionPool
- #apply — PG::EM::ConnectionPool::DeferredOptions
- #async_autoreconnect! — PG::EM::Client
- #async_reset — PG::EM::Client
- #benchmark — Object
- #bind_status — PG::EM::FeaturedDeferrable
- #blocking_get_result — PG::EM::Client
- #blocking_wait_for_notify — PG::EM::Client
- #cancel_notify_timer — PG::EM::Client::Watcher
- #cancel_timer — PG::EM::Client::Watcher
- #check_async_command_aborted! — PG::EM::Client
- #check_notify — PG::EM::Client::Watcher
- #close — PG::EM::Client
- #close — PG::EM::ConnectionPool
- #completion — PG::EM::FeaturedDeferrable
- #drop_failed — PG::EM::ConnectionPool
- #execute — PG::EM::ConnectionPool
- #fail_notify — PG::EM::Client::Watcher
- #fail_result — PG::EM::Client::Watcher
- #fetch_results — PG::EM::Client::Watcher
- #fiber_sync — PG::EM::Client
- #fibers — Object
- #finish — PG::EM::Client
- #finish — PG::EM::ConnectionPool
- #get_last_result_defer — PG::EM::Client
- #get_result — PG::EM::Client
- #get_result_defer — PG::EM::Client
- #handle_error — PG::EM::Client::Watcher
- #hold — PG::EM::ConnectionPool
- #hold_deferred — PG::EM::ConnectionPool
- #method_missing — PG::EM::ConnectionPool
- #notifies_wait — PG::EM::Client
- #notifies_wait_defer — PG::EM::Client
- #notify_readable — PG::EM::Client::ConnectWatcher
- #notify_readable — PG::EM::Client::Watcher
- #notify_writable — PG::EM::Client::ConnectWatcher
- #on_autoreconnect — PG::EM::Client
- #on_connect — PG::EM::Client
- #one_result_mode? — PG::EM::Client::Watcher
- #parallel — Object
- #patch_blocking — Object
- #patch_remove_blocking — Object
- #poll_connection_and_check — PG::EM::Client::ConnectWatcher
- #protect — PG::EM::FeaturedDeferrable
- #protect_and_succeed — PG::EM::FeaturedDeferrable
- #raise_error — PG::EM::Client
- #reconnecting? — PG::EM::Client::ConnectWatcher
- #release — PG::EM::ConnectionPool
- #reset — PG::EM::Client
- #reset_defer — PG::EM::Client
- #respond_to_missing? — PG::EM::ConnectionPool
- #setup_emio_watcher — PG::EM::Client
- #setup_timer — PG::EM::Client::Watcher
- #single — Object
- #single_row_mode? — PG::EM::Client
- #size — PG::EM::ConnectionPool
- #status — PG::EM::Client
- #stream_results — Object
- #succeed_connection — PG::EM::Client::ConnectWatcher
- #succeed_connection_with_hook — PG::EM::Client::ConnectWatcher
- #succeed_notify — PG::EM::Client::Watcher
- #threads — Object
- #transaction — PG::EM::Client
- #transaction — PG::EM::ConnectionPool
- #unbind — PG::EM::Client::Watcher
- #wait_for_notify — PG::EM::Client
- #wait_for_notify_defer — PG::EM::Client
- #watch_notify — PG::EM::Client::Watcher
- #watch_results — PG::EM::Client::Watcher
- #watching? — PG::EM::Client::Watcher