C# Class Google.Api.Gax.Grpc.CallTiming

An RPC simple expiration; or retry settings.
Show file Open project: googleapis/gax-dotnet Class Usage Examples

Public Methods

Method Description
FromDeadline ( System.DateTime deadline ) : CallTiming

Create a CallTiming with a simple deadline; no retry.

FromExpiration ( Expiration expiration ) : CallTiming

Create a CallTiming with a simple expiration; no retry.

FromRetry ( RetrySettings retry ) : CallTiming

Create a CallTiming with retry.

FromTimeout ( System.TimeSpan timeout ) : CallTiming

Create a CallTiming with a simple timeout; no retry.

Private Methods

Method Description
CallTiming ( RetrySettings retry, Expiration expiration ) : System

Method Details

FromDeadline() public static method

Create a CallTiming with a simple deadline; no retry.
public static FromDeadline ( System.DateTime deadline ) : CallTiming
deadline System.DateTime The absolute deadline for a call without retry.
return CallTiming

FromExpiration() public static method

Create a CallTiming with a simple expiration; no retry.
public static FromExpiration ( Expiration expiration ) : CallTiming
expiration Expiration The for a call without retry.
return CallTiming

FromRetry() public static method

Create a CallTiming with retry.
public static FromRetry ( RetrySettings retry ) : CallTiming
retry RetrySettings The for a call.
return CallTiming

FromTimeout() public static method

Create a CallTiming with a simple timeout; no retry.
public static FromTimeout ( System.TimeSpan timeout ) : CallTiming
timeout System.TimeSpan The relative timeout for a call without retry.
return CallTiming