Module: Mongo::Cursor::NonTailable Private
Do not use. This module is for internal use only.
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Included In:
| |
Defined in: | lib/mongo/cursor/nontailable.rb |
Overview
This module is used by cursor-implementing classes to indicate that the only cursors they generate are non-tailable, and iterable.
Instance Method Summary
-
#cursor_type ⇒ nil
Internal use only
These views are always non-tailable.
-
#timeout_mode ⇒ :iterable
Internal use only
These views apply timeouts to each iteration of a cursor, as opposed to the entire lifetime of the cursor.
Instance Method Details
#cursor_type ⇒ nil
These views are always non-tailable.
# File 'lib/mongo/cursor/nontailable.rb', line 13
def cursor_type nil end
#timeout_mode ⇒ :iterable
These views apply timeouts to each iteration of a cursor, as opposed to the entire lifetime of the cursor.
# File 'lib/mongo/cursor/nontailable.rb', line 22
def timeout_mode :iterable end