private void initMemoryValue()

in appactive-java-client/client-channel/src/main/java/io/appactive/channel/nacos/NacosReadDataSource.java [97:111]


    private void initMemoryValue(T newValue) {
        if (!isModified()) {
            return;
        }
        try {
            T oldValue = memoryValue;
            if(newValue == null){
                newValue = getValueFromSource();
            }
            listenerNotify(oldValue,newValue);
            memoryValue = newValue;
        } catch (IOException e) {
            LogUtil.error("nacos-read-failed,e:"+e.getMessage(),e);
        }
    }