gov.nasa.worldwind.retrieve
Class LocalRasterServerRetriever
java.lang.Object
gov.nasa.worldwind.avlist.AVListImpl
gov.nasa.worldwind.WWObjectImpl
gov.nasa.worldwind.retrieve.LocalRasterServerRetriever
- All Implemented Interfaces:
- AVList, MessageListener, Retriever, WWObject, PropertyChangeListener, Callable<Retriever>, EventListener
public class LocalRasterServerRetriever
- extends WWObjectImpl
- implements Retriever
| Methods inherited from class gov.nasa.worldwind.avlist.AVListImpl |
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getBooleanValue, getBooleanValue, getChangeSupport, getDoubleValue, getDoubleValue, getEntries, getIntegerValue, getIntegerValue, getLongValue, getLongValue, getRestorableStateForAVPair, getStringValue, getStringValue, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface gov.nasa.worldwind.avlist.AVList |
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues |
beginTime
protected long beginTime
byteBuffer
protected ByteBuffer byteBuffer
contentLength
protected volatile int contentLength
contentLengthRead
protected AtomicInteger contentLengthRead
endTime
protected long endTime
postProcessor
protected RetrievalPostProcessor postProcessor
server
protected RasterServer server
staleRequestLimit
protected int staleRequestLimit
state
protected volatile String state
submitTime
protected long submitTime
LocalRasterServerRetriever
public LocalRasterServerRetriever(AVList params,
RasterServer rasterServer,
RetrievalPostProcessor postProcessor)
call
public Retriever call()
throws Exception
- Specified by:
call in interface Callable<Retriever>
- Throws:
Exception
getBeginTime
public long getBeginTime()
- Specified by:
getBeginTime in interface Retriever
getBuffer
public ByteBuffer getBuffer()
- Specified by:
getBuffer in interface Retriever
getConnectTimeout
public int getConnectTimeout()
- Specified by:
getConnectTimeout in interface Retriever
getContentLength
public int getContentLength()
- Specified by:
getContentLength in interface Retriever
getContentLengthRead
public int getContentLengthRead()
- Specified by:
getContentLengthRead in interface Retriever
getContentType
public String getContentType()
- Specified by:
getContentType in interface Retriever
getEndTime
public long getEndTime()
- Specified by:
getEndTime in interface Retriever
getExpirationTime
public long getExpirationTime()
- Indicates the expiration time of the resource retrieved by this Retriever.
- Specified by:
getExpirationTime in interface Retriever
- Returns:
- Always returns zero (no expiration).
getName
public String getName()
- Specified by:
getName in interface Retriever
getReadTimeout
public int getReadTimeout()
- Specified by:
getReadTimeout in interface Retriever
getServer
public RasterServer getServer()
getStaleRequestLimit
public int getStaleRequestLimit()
- Specified by:
getStaleRequestLimit in interface Retriever
getState
public String getState()
- Specified by:
getState in interface Retriever
getSubmitTime
public long getSubmitTime()
- Specified by:
getSubmitTime in interface Retriever
setBeginTime
public void setBeginTime(long beginTime)
- Specified by:
setBeginTime in interface Retriever
setConnectTimeout
public void setConnectTimeout(int connectTimeout)
- Specified by:
setConnectTimeout in interface Retriever
setEndTime
public void setEndTime(long endTime)
- Specified by:
setEndTime in interface Retriever
setReadTimeout
public void setReadTimeout(int readTimeout)
- Specified by:
setReadTimeout in interface Retriever
setServer
public void setServer(RasterServer server)
setStaleRequestLimit
public void setStaleRequestLimit(int staleRequestLimit)
- Specified by:
setStaleRequestLimit in interface Retriever
setState
protected void setState(String state)
setSubmitTime
public void setSubmitTime(long submitTime)
- Specified by:
setSubmitTime in interface Retriever