Documentation for Ice 3.4. The latest release is Ice 3.7. Refer to the space directory for other releases.


Freeze::EvictorIterator

Overview

local interface EvictorIterator

An iterator for the objects managed by the evictor. Note that an EvictorIterator is not thread-safe: the application needs to serialize access to a given EvictorIterator, for example by using it in just one thread.

Used By
See Also

Operation Index

hasNext — Determines if the iteration has more elements.
next — Obtains the next identity in the iteration.

Operations

bool hasNext()

Determines if the iteration has more elements.

Return Value

True if the iterator has more elements, false otherwise.

Exceptions

Freeze::DatabaseException — Raised if a database failure occurs while retrieving a batch of objects.

Ice::Identity next()

Obtains the next identity in the iteration.

Return Value

The next identity in the iteration.

Exceptions

Freeze::NoSuchElementException — Raised if there is no further elements in the iteration.
Freeze::DatabaseException — Raised if a database failure occurs while retrieving a batch of objects.


  • No labels