class RpcAfterHealthCheckCallback implements ReadinessCheckCallback, PriorityOrdered {

    private final RpcStartApplicationListener rpcStartApplicationListener;

    public RpcAfterHealthCheckCallback(RpcStartApplicationListener rpcStartApplicationListener) {
        this.rpcStartApplicationListener = rpcStartApplicationListener;
    }

    @Override
    public Health onHealthy(ApplicationContext applicationContext) {<FILL_FUNCTION_BODY>}

    @Override
    public int getOrder() {
        return PriorityOrdered.LOWEST_PRECEDENCE;
    }
}

        Health.Builder builder = new Health.Builder();

        rpcStartApplicationListener.publishRpcStartEvent();

        if (rpcStartApplicationListener.isSuccess()) {
            return builder.status(Status.UP).build();
        } else {
            return builder.status(Status.DOWN).withDetail("Reason", "Rpc service start fail")
                .build();
        }
    
<no_super_class>