@SneakyThrows
    @Subscribe
    public final synchronized void renew(final PropertiesChangedEvent propertiesChangedEvent) {
        dataSource = new MasterSlaveDataSource(dataSource.getDataSourceMap(), dataSource.getMasterSlaveRule(), propertiesChangedEvent.getProps());
    }
@ SneakyThrows @ Subscribe public final synchronized void renew ( final PropertiesChangedEvent propertiesChangedEvent ) { dataSource = new MasterSlaveDataSource ( dataSource . getDataSourceMap ( ) , dataSource . getMasterSlaveRule ( ) , propertiesChangedEvent . getProps ( ) ) ; }
Renew properties.

@param propertiesChangedEvent properties changed event