Package 

Class RemoteServiceModule.Provider

    • Method Detail

      • connectTimeout

         RemoteServiceModule.Provider connectTimeout(long timeout, TimeUnit unit)

        Set maximum time to wait for connection to establish before failing.

        If {@code timeout}, converted to milliseconds,is {@code 0}, default timeout will be used instead.

        Parameters:
        timeout - maximum time to wait
        unit - unit {@code timeout} is measured in
      • readTimeout

         RemoteServiceModule.Provider readTimeout(long timeout, TimeUnit unit)

        Set maximum time to wait for connection to become readable before failing.

        If {@code timeout}, converted to milliseconds,is {@code 0}, default timeout will be used instead.

        Parameters:
        timeout - maximum time to wait
        unit - unit {@code timeout} is measured in
      • postRetryDelay

         RemoteServiceModule.Provider postRetryDelay(long delay, TimeUnit unit)

        Set maximum time to wait before retrying failed posts due to network connectivity issues.

        If {@code delay}, converted to milliseconds,is {@code 0}, default delay will be used instead.

        Parameters:
        delay - maximum time to wait
        unit - unit {@code timeout} is measured in
      • exchangeBatchSize

         RemoteServiceModule.Provider exchangeBatchSize(int size)

        Set maximum number of requests to poll and send at any given point in time.

        If {@code size} is {@code 0}, default batch size will be used instead.

        Parameters:
        size - maximum number of requests to batch