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