Class: Listen::Adapters::Polling

Inherits:
Listen::Adapter show all
Defined in:
lib/listen/adapters/polling.rb

Overview

Polling Adapter that works cross-platform and has no dependencies. This is the adapter that uses the most CPU processing power and has higher file IO than the other implementations.

Constant Summary

Constants inherited from Listen::Adapter

Listen::Adapter::ADAPTERS, Listen::Adapter::DEFAULT_LATENCY, Listen::Adapter::FALLBACK_ADAPTERS, Listen::Adapter::OPTIMIZED_ADAPTERS, Listen::Adapter::POLLING_FALLBACK_MESSAGE

Instance Attribute Summary

Attributes inherited from Listen::Adapter

#callback, #changed_directories, #directories, #latency, #mutex, #paused, #poller_thread, #stopped, #turnstile, #worker, #worker_thread

Method Summary

Methods inherited from Listen::Adapter

#initialize, load_dependent_adapter, #pause, #paused?, #report_changes, select_and_initialize, #start, #start!, #started?, #stop, #unpause, usable?, usable_and_works?, #wait_for_callback, #wait_for_changes, works?

Constructor Details

This class inherits a constructor from Listen::Adapter