org.gcube.data.spd.plugin.fwk.readers
Class AbstractLocalReader<T>
java.lang.Object
org.gcube.data.spd.plugin.fwk.readers.AbstractLocalReader<T>
- All Implemented Interfaces:
- Iterator<T>, org.gcube.data.streams.Stream<T>
- Direct Known Subclasses:
- LocalReader
public abstract class AbstractLocalReader<T>
- extends Object
- implements org.gcube.data.streams.Stream<T>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.gcube.data.streams.Stream |
close, hasNext, isClosed, locator |
logger
protected static final org.slf4j.Logger logger
queue
protected BlockingQueue<T> queue
element
protected T element
timeoutInSeconds
protected int timeoutInSeconds
AbstractLocalReader
public AbstractLocalReader(AbstractLocalWrapper<T> wrapper)
setTimeoutInSeconds
public void setTimeoutInSeconds(int timeoutInSeconds)
next
public T next()
- Specified by:
next in interface Iterator<T>- Specified by:
next in interface org.gcube.data.streams.Stream<T>
remove
public void remove()
- Specified by:
remove in interface Iterator<T>
Copyright © 2013. All Rights Reserved.