Interface RetrievalService

    • Method Detail

      • setRetrieverPoolSize

        void setRetrieverPoolSize​(int poolSize)
      • getRetrieverPoolSize

        int getRetrieverPoolSize()
      • hasActiveTasks

        boolean hasActiveTasks()
      • isAvailable

        boolean isAvailable()
      • contains

        boolean contains​(Retriever retriever)
      • getNumRetrieversPending

        int getNumRetrieversPending()
      • shutdown

        void shutdown​(boolean immediately)
      • setSSLExceptionListener

        void setSSLExceptionListener​(RetrievalService.SSLExceptionListener listener)
        Specifies the listener called when a SSLHandshakeException is thrown during resource retrieval.
        Parameters:
        listener - to listener to invoke, or null if no listener is to be invoked.
      • getSSLExceptionListener

        RetrievalService.SSLExceptionListener getSSLExceptionListener()
        Indicates the listener to be called when SSLHandshakeExceptions are thrown during resource retrieval.
        Returns:
        the exception listener, or null if no listener has been specified.