Package io.grpc

Class NameResolver.Listener2

  • All Implemented Interfaces:
    NameResolver.Listener
    Enclosing class:
    NameResolver

    @ExperimentalApi("https://github.com/grpc/grpc-java/issues/1770")
    public abstract static class NameResolver.Listener2
    extends Object
    implements NameResolver.Listener
    Receives address updates.

    All methods are expected to return quickly.

    This is a replacement API of Listener. However, we think this new API may change again, so we aren't yet encouraging mass-migration to it. It is fine to use and works.

    Since:
    1.21.0