Freeze Slice API Reference
Operations | List of all members
Freeze::EvictorIterator Local Interface Reference

An iterator for the objects managed by the evictor. More...

defined in <Freeze/Evictor.ice>

local interface EvictorIterator { ... }

Operations

bool hasNext ()
 Determines if the iteration has more elements. More...
 
Ice::Identity next ()
 Obtains the next identity in the iteration. More...
 

Detailed Description

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.

See also
Evictor

Operation Documentation

◆ hasNext()

bool hasNext ( )

Determines if the iteration has more elements.

Returns
True if the iterator has more elements, false otherwise.
Exceptions
DatabaseExceptionRaised if a database failure occurs while retrieving a batch of objects.

◆ next()

Ice::Identity next ( )

Obtains the next identity in the iteration.

Returns
The next identity in the iteration.
Exceptions
NoSuchElementExceptionRaised if there is no further elements in the iteration.
DatabaseExceptionRaised if a database failure occurs while retrieving a batch of objects.

The documentation for this interface was generated from the following file: