public boolean registerInvoker(ProviderConfig providerConfig, Invoker invoker) {
        this.writeLook.lock();
        try {
            String uniqueId = this.getUniqueId(providerConfig);
            return this.uniqueIdInvokerMap.putIfAbsent(uniqueId, invoker) == null;
        } finally {
            this.writeLook.unlock();
        }
    }
register invoker with unique id from provider config

@param providerConfig provider config
@param invoker        invoker
@return register success or not
remoting/remoting-triple/src/main/java/com/alipay/sofa/rpc/server/triple/UniqueIdInvoker.java