Class RemoteCloseableIterator<E>
- java.lang.Object
-
- org.infinispan.client.hotrod.impl.iteration.RemoteCloseableIterator<E>
-
- All Implemented Interfaces:
AutoCloseable
,Iterator<Map.Entry<Object,E>>
,org.infinispan.commons.util.CloseableIterator<Map.Entry<Object,E>>
@NotThreadSafe public class RemoteCloseableIterator<E> extends Object implements org.infinispan.commons.util.CloseableIterator<Map.Entry<Object,E>>
- Since:
- 8.0
- Author:
- gustavonalle
-
-
Field Summary
Fields Modifier and Type Field Description protected org.infinispan.commons.marshall.Marshaller
marshaller
-
Constructor Summary
Constructors Constructor Description RemoteCloseableIterator(OperationsFactory operationsFactory, org.infinispan.commons.marshall.Marshaller marshaller, int batchSize, Set<Integer> segments, boolean metadata, DataFormat dataFormat)
RemoteCloseableIterator(OperationsFactory operationsFactory, org.infinispan.commons.marshall.Marshaller marshaller, String filterConverterFactory, byte[][] filterParams, Set<Integer> segments, int batchSize, boolean metadata, DataFormat dataFormat)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
boolean
hasNext()
Map.Entry<Object,E>
next()
void
start()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
-
-
-
Constructor Detail
-
RemoteCloseableIterator
public RemoteCloseableIterator(OperationsFactory operationsFactory, org.infinispan.commons.marshall.Marshaller marshaller, String filterConverterFactory, byte[][] filterParams, Set<Integer> segments, int batchSize, boolean metadata, DataFormat dataFormat)
-
RemoteCloseableIterator
public RemoteCloseableIterator(OperationsFactory operationsFactory, org.infinispan.commons.marshall.Marshaller marshaller, int batchSize, Set<Integer> segments, boolean metadata, DataFormat dataFormat)
-
-
Method Detail
-
close
public void close()
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceorg.infinispan.commons.util.CloseableIterator<E>
-
start
public void start()
-
-