List of usage examples for org.apache.commons.configuration FileConfiguration getLong
long getLong(String key, long defaultValue);
From source file:com.germinus.easyconf.AggregatedProperties.java
private Long getReloadDelay(CompositeConfiguration loadedConf, FileConfiguration newConf) { Long delay = newConf.getLong(Conventions.RELOAD_DELAY_PROPERTY, null); if (delay == null) { delay = loadedConf.getLong(Conventions.RELOAD_DELAY_PROPERTY, null); }//from ww w . j a v a2s. c o m return delay; }
From source file:com.liferay.portal.configuration.easyconf.ClassLoaderAggregateProperties.java
private Long _getReloadDelay(CompositeConfiguration loadedCompositeConfiguration, FileConfiguration newFileConfiguration) { Long delay = newFileConfiguration.getLong(Conventions.RELOAD_DELAY_PROPERTY, null); if (delay == null) { delay = loadedCompositeConfiguration.getLong(Conventions.RELOAD_DELAY_PROPERTY, null); }/*from w ww.java 2 s . c o m*/ return delay; }