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, 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
onMessage
protected 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.Exception
public long getBeginTime()
getBeginTime
in interface Retriever
public int getConnectTimeout()
getConnectTimeout
in interface Retriever
public int getContentLength()
getContentLength
in interface Retriever
public int getContentLengthRead()
getContentLengthRead
in interface Retriever
public java.lang.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(java.lang.String state)
public void setSubmitTime(long submitTime)
setSubmitTime
in interface Retriever