class ServerImpl extends io.grpc.Server implements InternalInstrumented<ServerStats> {

  @Override
  public ListenableFuture<ServerStats> getStats() {
    ServerStats.Builder builder
        = new ServerStats.Builder()
        .setListenSockets(transportServer.getListenSockets());
    serverCallTracer.updateBuilder(builder);
    SettableFuture<ServerStats> ret = SettableFuture.create();
    ret.set(builder.build());
    return ret;
  }

    ServerImpl(
      AbstractServerImplBuilder<?> builder,
      InternalServer transportServer,
      Context rootContext);

}