Class GrpcChannelFactory


  • public class GrpcChannelFactory
    extends io.grpc.NameResolverProvider
    A default implementation of GrpcChannelFactory.
    Since:
    22.06.2
    Author:
    Jonathan Knight 2022.08.25
    • Field Detail

      • RESOLVER_SCHEME

        public static final String RESOLVER_SCHEME
        The name of the custom Coherence gRPC name resolver.
        See Also:
        Constant Field Values
    • Method Detail

      • newNameResolver

        public io.grpc.NameResolver newNameResolver​(URI targetUri,
                                                    io.grpc.NameResolver.Args args)
        Specified by:
        newNameResolver in class io.grpc.NameResolver.Factory
      • getDefaultScheme

        public String getDefaultScheme()
        Specified by:
        getDefaultScheme in class io.grpc.NameResolver.Factory
      • isAvailable

        protected boolean isAvailable()
        Specified by:
        isAvailable in class io.grpc.NameResolverProvider
      • priority

        protected int priority()
        Specified by:
        priority in class io.grpc.NameResolverProvider