Package com.oracle.coherence.client
Class GrpcChannelFactory.NullNameResolverListener
- java.lang.Object
-
- io.grpc.NameResolver.Listener2
-
- com.oracle.coherence.client.GrpcChannelFactory.NullNameResolverListener
-
- All Implemented Interfaces:
io.grpc.NameResolver.Listener
- Enclosing class:
- GrpcChannelFactory
protected static class GrpcChannelFactory.NullNameResolverListener extends io.grpc.NameResolver.Listener2A no-op implementation of aNameResolver.Listener2.
-
-
Field Summary
Fields Modifier and Type Field Description protected static GrpcChannelFactory.NullNameResolverListenerINSTANCEA singleton instance ofGrpcChannelFactory.NullNameResolverListener.
-
Constructor Summary
Constructors Modifier Constructor Description protectedNullNameResolverListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonError(io.grpc.Status error)voidonResult(io.grpc.NameResolver.ResolutionResult resolutionResult)
-
-
-
Field Detail
-
INSTANCE
protected static final GrpcChannelFactory.NullNameResolverListener INSTANCE
A singleton instance ofGrpcChannelFactory.NullNameResolverListener.
-
-
Method Detail
-
onResult
public void onResult(io.grpc.NameResolver.ResolutionResult resolutionResult)
- Specified by:
onResultin classio.grpc.NameResolver.Listener2
-
onError
public void onError(io.grpc.Status error)
- Specified by:
onErrorin interfaceio.grpc.NameResolver.Listener- Specified by:
onErrorin classio.grpc.NameResolver.Listener2
-
-