Class AtomixIterator<T>
- java.lang.Object
-
- org.onosproject.store.atomix.primitives.impl.AtomixIterator<T>
-
- All Implemented Interfaces:
org.onosproject.store.service.AsyncIterator<T>
public class AtomixIterator<T> extends Object implements org.onosproject.store.service.AsyncIterator<T>
Atomix asynchronous iterator.
-
-
Constructor Summary
Constructors Constructor Description AtomixIterator(io.atomix.core.iterator.AsyncIterator<T> atomixIterator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompletableFuture<Boolean>hasNext()CompletableFuture<T>next()
-
-
-
Constructor Detail
-
AtomixIterator
public AtomixIterator(io.atomix.core.iterator.AsyncIterator<T> atomixIterator)
-
-
Method Detail
-
hasNext
public CompletableFuture<Boolean> hasNext()
- Specified by:
hasNextin interfaceorg.onosproject.store.service.AsyncIterator<T>
-
next
public CompletableFuture<T> next()
- Specified by:
nextin interfaceorg.onosproject.store.service.AsyncIterator<T>
-
-