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, propertyChange
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
propertyChange
onMessage
protected 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 Retriever
public ByteBuffer getBuffer()
public int getConnectTimeout()
getConnectTimeout
in interface Retriever
public int getContentLength()
getContentLength
in interface Retriever
public int getContentLengthRead()
getContentLengthRead
in interface Retriever
public String getContentType()
getContentType
in interface Retriever
public long getEndTime()
getEndTime
in interface Retriever
public long getExpirationTime()
getExpirationTime
in interface Retriever
public int getReadTimeout()
getReadTimeout
in interface Retriever
public RasterServer getServer()
public int getStaleRequestLimit()
getStaleRequestLimit
in interface Retriever
public long getSubmitTime()
getSubmitTime
in interface Retriever
public void setBeginTime(long beginTime)
setBeginTime
in interface Retriever
public void setConnectTimeout(int connectTimeout)
setConnectTimeout
in interface Retriever
public void setEndTime(long endTime)
setEndTime
in interface Retriever
public void setReadTimeout(int readTimeout)
setReadTimeout
in interface Retriever
public void setServer(RasterServer server)
public void setStaleRequestLimit(int staleRequestLimit)
setStaleRequestLimit
in interface Retriever
protected void setState(String state)
public void setSubmitTime(long submitTime)
setSubmitTime
in interface Retriever