public synchronized Cache<Integer, String> getCache() {
   return getCache(
       _configurationService.getConfigurationValueAsInteger(
           SIRI_CACHE_TIMEOUT_KEY, DEFAULT_CACHE_TIMEOUT),
       "SIRI",
       true);
 }
 @Override
 @Refreshable(dependsOn = {SIRI_CACHE_TIMEOUT_KEY})
 protected synchronized void refreshCache() {
   if (_cache == null) return;
   int timeout =
       _configurationService.getConfigurationValueAsInteger(
           SIRI_CACHE_TIMEOUT_KEY, DEFAULT_CACHE_TIMEOUT);
   _log.info(
       "rebuilding siri cache with "
           + _cache.size()
           + " entries after refresh with timeout="
           + timeout
           + "...");
   ConcurrentMap<Integer, String> map = _cache.asMap();
   _cache = CacheBuilder.newBuilder().expireAfterWrite(timeout, TimeUnit.SECONDS).build();
   for (Entry<Integer, String> entry : map.entrySet()) {
     _cache.put(entry.getKey(), entry.getValue());
   }
   _log.info("done");
 }
 public Integer getQueuePort() {
   return _configurationService.getConfigurationValueAsInteger(
       "inference-engine.outputQueuePort", 5566);
 }
 public String getQueueName() {
   return _configurationService.getConfigurationValueAsString(
       "inference-engine.outputQueueName", null);
 }
 public void store(Integer key, String value) {
   int timeout =
       _configurationService.getConfigurationValueAsInteger(
           SIRI_CACHE_TIMEOUT_KEY, DEFAULT_CACHE_TIMEOUT);
   super.store(key, value, timeout);
 }