org.gcube.data.spd.plugin.fwk.writers.rswrapper
Class LocalWrapper<T>
java.lang.Object
org.gcube.data.spd.plugin.fwk.writers.rswrapper.AbstractWrapper<T>
org.gcube.data.spd.plugin.fwk.writers.rswrapper.AbstractLocalWrapper<T>
org.gcube.data.spd.plugin.fwk.writers.rswrapper.LocalWrapper<T>
public class LocalWrapper<T>
- extends AbstractLocalWrapper<T>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocalWrapper
public LocalWrapper()
LocalWrapper
public LocalWrapper(int queueSize)
getLocator
public String getLocator()
throws Exception
- Overrides:
getLocator in class AbstractLocalWrapper<T>
- Throws:
Exception
add
public boolean add(T input)
throws org.gcube.data.spd.model.exceptions.InvalidRecordException,
org.gcube.data.spd.model.exceptions.WrapperAlreadyDisposedException
- Specified by:
add in class AbstractWrapper<T>
- Throws:
org.gcube.data.spd.model.exceptions.InvalidRecordException
org.gcube.data.spd.model.exceptions.WrapperAlreadyDisposedException
close
public void close()
- Specified by:
close in class AbstractWrapper<T>
getQueue
public ArrayBlockingQueue<T> getQueue()
- Specified by:
getQueue in class AbstractLocalWrapper<T>
setTimeoutTimeInMinutes
public void setTimeoutTimeInMinutes(int timeoutTimeInMinutes)
isForceOpen
public boolean isForceOpen()
forceOpen
public void forceOpen()
disableForceOpen
public void disableForceOpen()
disableForceOpenAndClose
public void disableForceOpenAndClose()
disposeBuffer
public void disposeBuffer()
- Specified by:
disposeBuffer in class AbstractLocalWrapper<T>
add
public boolean add(org.gcube.data.spd.model.exceptions.StreamException result)
throws org.gcube.data.spd.model.exceptions.InvalidRecordException,
org.gcube.data.spd.model.exceptions.WrapperAlreadyDisposedException
- Specified by:
add in class AbstractWrapper<T>
- Throws:
org.gcube.data.spd.model.exceptions.InvalidRecordException
org.gcube.data.spd.model.exceptions.WrapperAlreadyDisposedException
getErrors
public List<org.gcube.data.spd.model.exceptions.StreamException> getErrors()
Copyright © 2013. All Rights Reserved.