ServerTimeoutInterceptor Class
- java.
lang. Object - BatchClientBehavior
- RequestInterceptor
- com.
microsoft. azure. batch. interceptor. ServerTimeoutInterceptor
- com.
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. |
Inherited Members
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:
Method Details
serverTimeout
public int serverTimeout()
Gets the service timeout interval applied by this ServerTimeoutInterceptor instance.
Returns:
Applies to
Azure SDK for Java