public class LocalRasterServerRetriever extends WWObjectImpl implements Retriever
| Modifier and Type | Field and Description |
|---|---|
protected long |
beginTime |
protected ByteBuffer |
byteBuffer |
protected int |
contentLength |
protected AtomicInteger |
contentLengthRead |
protected long |
endTime |
protected RetrievalPostProcessor |
postProcessor |
protected RasterServer |
server |
protected int |
staleRequestLimit |
protected 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() |
ByteBuffer |
getBuffer() |
int |
getConnectTimeout() |
int |
getContentLength() |
int |
getContentLengthRead() |
String |
getContentType() |
long |
getEndTime() |
long |
getExpirationTime()
Indicates the expiration time of the resource retrieved by this Retriever.
|
String |
getName() |
int |
getReadTimeout() |
RasterServer |
getServer() |
int |
getStaleRequestLimit() |
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(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, setValuespropertyChangeonMessageprotected long beginTime
protected ByteBuffer byteBuffer
protected volatile int contentLength
protected AtomicInteger contentLengthRead
protected long endTime
protected RetrievalPostProcessor postProcessor
protected RasterServer server
protected int staleRequestLimit
protected volatile String state
protected long submitTime
public LocalRasterServerRetriever(AVList params, RasterServer rasterServer, RetrievalPostProcessor postProcessor)
public long getBeginTime()
getBeginTime in interface Retrieverpublic ByteBuffer getBuffer()
public int getConnectTimeout()
getConnectTimeout in interface Retrieverpublic int getContentLength()
getContentLength in interface Retrieverpublic int getContentLengthRead()
getContentLengthRead in interface Retrieverpublic 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(String state)
public void setSubmitTime(long submitTime)
setSubmitTime in interface Retriever