org.apache.sling.event
Interface JobsIterator
- All Superinterfaces:
- Iterable<org.osgi.service.event.Event>, Iterator<org.osgi.service.event.Event>, JobsIterator
Deprecated.
@Deprecated
public interface JobsIterator
- extends JobsIterator
This Iterator
allows to iterate over Event
s.
In addition to an iterator it might return the number of elements
in the collection and allows to skip several elements.
If the iterator is not used to iterate through the whole collection
of jobs, the close()
method must be called in order to
free resources!
Method Summary |
void |
close()
Deprecated. Releases this iterators resources immediately instead of waiting for this
to happen when it is automatically closed. |
close
void close()
- Deprecated.
- Releases this iterators resources immediately instead of waiting for this
to happen when it is automatically closed. After a call to close, this
iterator should not be used anymore.
The iterator is closed automatically when it reaches it's end.
Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.