public class LocalRasterServerRetriever extends WWObjectImpl implements Retriever
| Modifier and Type | Field and Description |
|---|---|
protected long |
beginTime |
protected java.nio.ByteBuffer |
byteBuffer |
protected int |
contentLength |
protected java.util.concurrent.atomic.AtomicInteger |
contentLengthRead |
protected long |
endTime |
protected RetrievalPostProcessor |
postProcessor |
protected RasterServer |
server |
protected int |
staleRequestLimit |
protected java.lang.String |
state |
protected long |
submitTime |
RETRIEVER_STATE_CONNECTING, RETRIEVER_STATE_ERROR, RETRIEVER_STATE_INTERRUPTED, RETRIEVER_STATE_NOT_STARTED, RETRIEVER_STATE_READING, RETRIEVER_STATE_STARTED, RETRIEVER_STATE_SUCCESSFUL| Constructor and Description |
|---|
LocalRasterServerRetriever(AVList params,
RasterServer rasterServer,
RetrievalPostProcessor postProcessor) |
| Modifier and Type | Method and Description |
|---|---|
Retriever |
call() |
long |
getBeginTime() |
java.nio.ByteBuffer |
getBuffer() |
int |
getConnectTimeout() |
int |
getContentLength() |
int |
getContentLengthRead() |
java.lang.String |
getContentType() |
long |
getEndTime() |
long |
getExpirationTime()
Indicates the expiration time of the resource retrieved by this Retriever.
|
java.lang.String |
getName() |
int |
getReadTimeout() |
RasterServer |
getServer() |
int |
getStaleRequestLimit() |
java.lang.String |
getState() |
long |
getSubmitTime() |
void |
setBeginTime(long beginTime) |
void |
setConnectTimeout(int connectTimeout) |
void |
setEndTime(long endTime) |
void |
setReadTimeout(int readTimeout) |
void |
setServer(RasterServer server) |
void |
setStaleRequestLimit(int staleRequestLimit) |
protected void |
setState(java.lang.String state) |
void |
setSubmitTime(long submitTime) |
onMessage, propertyChangeaddPropertyChangeListener, 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, setValuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValuesonMessageprotected long beginTime
protected java.nio.ByteBuffer byteBuffer
protected volatile int contentLength
protected java.util.concurrent.atomic.AtomicInteger contentLengthRead
protected long endTime
protected RetrievalPostProcessor postProcessor
protected RasterServer server
protected int staleRequestLimit
protected volatile java.lang.String state
protected long submitTime
public LocalRasterServerRetriever(AVList params, RasterServer rasterServer, RetrievalPostProcessor postProcessor)
public Retriever call() throws java.lang.Exception
call in interface java.util.concurrent.Callable<Retriever>java.lang.Exceptionpublic long getBeginTime()
getBeginTime in interface Retrieverpublic int getConnectTimeout()
getConnectTimeout in interface Retrieverpublic int getContentLength()
getContentLength in interface Retrieverpublic int getContentLengthRead()
getContentLengthRead in interface Retrieverpublic java.lang.String getContentType()
getContentType in interface Retrieverpublic long getEndTime()
getEndTime in interface Retrieverpublic long getExpirationTime()
getExpirationTime in interface Retrieverpublic int getReadTimeout()
getReadTimeout in interface Retrieverpublic RasterServer getServer()
public int getStaleRequestLimit()
getStaleRequestLimit in interface Retrieverpublic long getSubmitTime()
getSubmitTime in interface Retrieverpublic void setBeginTime(long beginTime)
setBeginTime in interface Retrieverpublic void setConnectTimeout(int connectTimeout)
setConnectTimeout in interface Retrieverpublic void setEndTime(long endTime)
setEndTime in interface Retrieverpublic void setReadTimeout(int readTimeout)
setReadTimeout in interface Retrieverpublic void setServer(RasterServer server)
public void setStaleRequestLimit(int staleRequestLimit)
setStaleRequestLimit in interface Retrieverprotected void setState(java.lang.String state)
public void setSubmitTime(long submitTime)
setSubmitTime in interface Retriever