You are here:
Foswiki
>
System Web
>
Category
>
DeveloperDocumentationCategory
>
PerlDoc
(21 Nov 2014,
ProjectContributor
)
Edit
Attach
internal package
Foswiki
::
Iterator
::MergeEventIterator
See
Published API
for packages intended to be used by Plugin and Contrib authors, or
browse all packages
.
See also
Developing plugins
,
Developer's Bible
,
Technical Overview
Perl Module:
Child packages
Child packages
On this page:
Foswiki::Iterator::MergeEventIterator
ObjectMethod hasNext() → $boolean
ObjectMethod next() → \$hash or @array
Foswiki::Iterator::MergeEventIterator
Private subclass of
Foswiki::Iterator
that
Is passed a array reference of a list of iterator arrays.
Scans across the list of iterators using snoopNext to find the iterator with the lowest timestamp
returns true to hasNext if any iterator has any records available.
returns the record with the lowest timestamp to the next() request.
ObjectMethod
hasNext() → $boolean
Scans all the iterators to determine if any of them have a record available.
ObjectMethod
next() → \$hash or @array
Snoop all of the iterators to find the lowest timestamp record, and return the field hash, or field array, depending up on the requested API version.
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew wiki text
|
Edit
w
iki text
|
M
ore topic actions
Topic revision: r1 - 21 Nov 2014,
ProjectContributor
System
Log In
Toolbox
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Preferences
User Reference
Beginners Start Here
Editing Shorthand
Macros
Macros Quick Reference
Formatted Search
Query Search
Document Graphics
Skin Browser
Installed Plugins
Admin Maintenance
Reference Manual
Admin Tools Category
Inter Wikis
Managing Webs
Site Tools
Default Preferences
Web Preferences
Categories
Admin Documentation Category
Admin Tools Category
Developer Documentation Category
User Documentation Category
User Tools Category
Webs
Events
Misc
Organizations
Sandbox
Software
System
Users
Copyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki?
Send feedback