Class TestServiceStubsOptions


  • public final class TestServiceStubsOptions
    extends java.lang.Object
    • Field Detail

      • DEFAULT_LOCAL_DOCKER_TARGET

        public static final java.lang.String DEFAULT_LOCAL_DOCKER_TARGET
        See Also:
        Constant Field Values
      • DEFAULT_RPC_TIMEOUT

        public static final java.time.Duration DEFAULT_RPC_TIMEOUT
      • DEFAULT_CONNECTION_BACKOFF_RESET_FREQUENCY

        public static final java.time.Duration DEFAULT_CONNECTION_BACKOFF_RESET_FREQUENCY
      • DEFAULT_GRPC_RECONNECT_FREQUENCY

        public static final java.time.Duration DEFAULT_GRPC_RECONNECT_FREQUENCY
      • channel

        protected final io.grpc.ManagedChannel channel
      • target

        protected final java.lang.String target
      • channelInitializer

        @Nullable
        protected final java.util.function.Consumer<io.grpc.ManagedChannelBuilder<?>> channelInitializer
      • enableHttps

        protected final boolean enableHttps
      • sslContext

        protected final io.grpc.netty.shaded.io.netty.handler.ssl.SslContext sslContext
      • healthCheckAttemptTimeout

        protected final java.time.Duration healthCheckAttemptTimeout
      • healthCheckTimeout

        protected final java.time.Duration healthCheckTimeout
      • enableKeepAlive

        protected final boolean enableKeepAlive
      • keepAliveTime

        protected final java.time.Duration keepAliveTime
      • keepAliveTimeout

        protected final java.time.Duration keepAliveTimeout
      • keepAlivePermitWithoutStream

        protected final boolean keepAlivePermitWithoutStream
      • rpcTimeout

        protected final java.time.Duration rpcTimeout
      • connectionBackoffResetFrequency

        protected final java.time.Duration connectionBackoffResetFrequency
      • grpcReconnectFrequency

        protected final java.time.Duration grpcReconnectFrequency
      • headers

        protected final io.grpc.Metadata headers
      • grpcMetadataProviders

        protected final java.util.Collection<io.temporal.serviceclient.GrpcMetadataProvider> grpcMetadataProviders
      • grpcClientInterceptors

        protected final java.util.Collection<io.grpc.ClientInterceptor> grpcClientInterceptors
      • metricsScope

        protected final com.uber.m3.tally.Scope metricsScope
    • Method Detail

      • getChannel

        public io.grpc.ManagedChannel getChannel()
      • getTarget

        public java.lang.String getTarget()
      • getChannelInitializer

        @Nullable
        public java.util.function.Consumer<io.grpc.ManagedChannelBuilder<?>> getChannelInitializer()
      • getEnableHttps

        public boolean getEnableHttps()
      • getSslContext

        public io.grpc.netty.shaded.io.netty.handler.ssl.SslContext getSslContext()
      • getHealthCheckAttemptTimeout

        public java.time.Duration getHealthCheckAttemptTimeout()
      • getHealthCheckTimeout

        public java.time.Duration getHealthCheckTimeout()
      • getEnableKeepAlive

        public boolean getEnableKeepAlive()
      • getKeepAliveTime

        public java.time.Duration getKeepAliveTime()
      • getKeepAliveTimeout

        public java.time.Duration getKeepAliveTimeout()
      • getKeepAlivePermitWithoutStream

        public boolean getKeepAlivePermitWithoutStream()
      • getRpcTimeout

        public java.time.Duration getRpcTimeout()
      • getConnectionBackoffResetFrequency

        public java.time.Duration getConnectionBackoffResetFrequency()
      • getGrpcReconnectFrequency

        public java.time.Duration getGrpcReconnectFrequency()
      • getHeaders

        public io.grpc.Metadata getHeaders()
      • getGrpcMetadataProviders

        public java.util.Collection<io.temporal.serviceclient.GrpcMetadataProvider> getGrpcMetadataProviders()
      • getGrpcClientInterceptors

        public java.util.Collection<io.grpc.ClientInterceptor> getGrpcClientInterceptors()
      • getMetricsScope

        @Nonnull
        public com.uber.m3.tally.Scope getMetricsScope()