ServerTimeoutInterceptor Class

public class ServerTimeoutInterceptor
extends RequestInterceptor

Sets Batch service request timeouts.

Constructor Summary

Constructor Description
ServerTimeoutInterceptor(int timeout)

Initializes a new ServerTimeoutInterceptor for setting the service timeout interval for a request issued to the Batch service.

Method Summary

Modifier and Type Method and Description
int serverTimeout()

Gets the service timeout interval applied by this ServerTimeoutInterceptor instance.

Methods inherited from RequestInterceptor

Methods inherited from java.lang.Object

Constructor Details

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 Details

serverTimeout

public int serverTimeout()

Gets the service timeout interval applied by this ServerTimeoutInterceptor instance.

Returns:

The service timeout interval, in seconds.

Applies to