Class ServerTimeoutInterceptor


  • public class ServerTimeoutInterceptor
    extends RequestInterceptor
    Sets Batch service request timeouts.
    • Constructor Detail

      • ServerTimeoutInterceptor

        public ServerTimeoutInterceptor​(int timeout)
        Initializes a new ServerTimeoutInterceptor for setting the service timeout interval for a request issued to the Batch service.
        Parameters:
        timeout - The service timeout interval, in seconds.
    • Method Detail

      • serverTimeout

        public int serverTimeout()
        Gets the service timeout interval applied by this ServerTimeoutInterceptor instance.
        Returns:
        The service timeout interval, in seconds.