@Override
    public void startup() throws LifeCycleException {
        if (isStarted.compareAndSet(false, true)) {
            return;
        }
        throw new LifeCycleException("this component has started");
    }
@author chengyi (mark.lx@antfin.com) 2018-11-05 14:43
src/main/java/com/alipay/remoting/AbstractLifeCycle.java