private void reloadCacheWithNewValue(final Long newValue){
  final long newValueAsPrimitive=newValue == null ? getCacheUpdatePeriod() : newValue;
  LOG.debug("invoking {} listeners",cacheUpdatePeriodListeners.size());
  for (  final PropertyChangeListener listener : cacheUpdatePeriodListeners) {
    final PropertyChangeEvent event=new PropertyChangeEvent(this,"cache",getCacheUpdatePeriod(),newValueAsPrimitive);
    listener.propertyChange(event);
  }
}

private void reloadCacheWithNewValue ( final Long newValue ) { final long newValueAsPrimitive = newValue == null ? getCacheUpdatePeriod ( ) : newValue ; LOG . debug ( "invoking {} listeners" , cacheUpdatePeriodListeners . size ( ) ) ; for ( final PropertyChangeListener listener : cacheUpdatePeriodListeners ) { final PropertyChangeEvent event = new PropertyChangeEvent ( this , "cache" , getCacheUpdatePeriod ( ) , newValueAsPrimitive ) ; listener . propertyChange ( event ) ; } }
notify all listeners about cacheperiod property changed . if passed newvalue is null , the oldvalue is taken as new value . this is the case when the reloadcache is invoked .
