public interface RetrievalService extends WWObject
Modifier and Type | Interface and Description |
---|---|
static interface |
RetrievalService.SSLExceptionListener |
Modifier and Type | Method and Description |
---|---|
boolean |
contains(Retriever retriever) |
int |
getNumRetrieversPending() |
int |
getRetrieverPoolSize() |
RetrievalService.SSLExceptionListener |
getSSLExceptionListener()
Indicates the listener to be called when
SSLHandshakeException s are thrown during resource
retrieval. |
boolean |
hasActiveTasks() |
boolean |
isAvailable() |
RetrievalFuture |
runRetriever(Retriever retriever) |
RetrievalFuture |
runRetriever(Retriever retriever,
double priority) |
void |
setRetrieverPoolSize(int poolSize) |
void |
setSSLExceptionListener(RetrievalService.SSLExceptionListener listener)
Specifies the listener called when a
SSLHandshakeException is thrown during resource
retrieval. |
void |
shutdown(boolean immediately) |
addPropertyChangeListener, addPropertyChangeListener, clearList, copy, firePropertyChange, firePropertyChange, getEntries, getStringValue, getValue, getValues, hasKey, removeKey, removePropertyChangeListener, removePropertyChangeListener, setValue, setValues
onMessage
boolean contains(Retriever retriever)
int getNumRetrieversPending()
int getRetrieverPoolSize()
RetrievalService.SSLExceptionListener getSSLExceptionListener()
SSLHandshakeException
s are thrown during resource
retrieval.boolean hasActiveTasks()
boolean isAvailable()
RetrievalFuture runRetriever(Retriever retriever)
RetrievalFuture runRetriever(Retriever retriever, double priority)
void setRetrieverPoolSize(int poolSize)
void setSSLExceptionListener(RetrievalService.SSLExceptionListener listener)
SSLHandshakeException
is thrown during resource
retrieval.listener
- to listener to invoke, or null if no listener is to be invoked.void shutdown(boolean immediately)