2015/07/26 - Apache DirectMemory has been retired.

For more information, please explore the Attic.

public class

NonStrictCacheValuesIterator

extends Object
implements Iterator<E>
java.lang.Object
   ↳ org.apache.directmemory.utils.NonStrictCacheValuesIterator<K, V>

Class Overview

The relaxed iterator, it guarantees that if hasNext() returns true, the subsequent calling next() always returns a value. This value might be stalled or expired.

Summary

Public Constructors
NonStrictCacheValuesIterator(Iterator<K> keysIterator, CacheService<K, V> cacheService)
Public Methods
boolean hasNext()
V next()
void remove()
[Expand]
Inherited Methods
From class java.lang.Object
From interface java.util.Iterator

Public Constructors

public NonStrictCacheValuesIterator (Iterator<K> keysIterator, CacheService<K, V> cacheService)

Public Methods

public boolean hasNext ()

public V next ()

public void remove ()