@Override public synchronized void stop() { log.debug("Stopping SingletonRedisRegionFactory..."); if (ReferenceCount.decrementAndGet() == 0) { try { redis.shutdown(); redis = null; cacheTimestamper = null; log.info("stopped SingletonRedisRegionFactory"); } catch (Exception ignored) { log.warn("Error occurred in stopping hibernate-redis client.", ignored); } } }
@Override public synchronized void stop() { log.debug("Stopping SingletonRedisRegionFactory..."); if (ReferenceCount.decrementAndGet() == 0) { try { redis.shutdown(); redis = null; cacheTimestamper = null; log.info("stopped SingletonRedisRegionFactory"); } catch (Exception ignored) { log.warn("Error occurred in stopping hibernate-redis client.", ignored); } } }
@Override public synchronized void stop() { log.debug("Stopping SingletonRedisRegionFactory..."); if (ReferenceCount.decrementAndGet() == 0) { try { redis.shutdown(); redis = null; cacheTimestamper = null; log.info("stopped SingletonRedisRegionFactory"); } catch (Exception ignored) { log.warn("Error occurred in stopping hibernate-redis client.", ignored); } } }
@Override @Synchronized public void stop() { if (redis == null) return; log.debug("Stopping RedisRegionFactory..."); try { redis.shutdown(); redis = null; cacheTimestamper = null; log.info("RedisRegionFactory is stopped."); } catch (Exception ignored) { log.error("Fail to stop RedisRegionFactory.", ignored); } }
@Override @Synchronized public void stop() { if (redis == null) return; log.debug("Stopping RedisRegionFactory..."); try { redis.shutdown(); redis = null; cacheTimestamper = null; log.info("RedisRegionFactory is stopped."); } catch (Exception ignored) { log.error("Fail to stop RedisRegionFactory.", ignored); } }
@Override @Synchronized public void stop() { if (this.redis == null) return; if (referenceCount.decrementAndGet() == 0) { log.debug("RedisRegionFactory is stopping..."); try { redis.shutdown(); redis = null; cacheTimestamper = null; log.info("RedisRegionFactory is stopped."); } catch (Exception ignored) { log.error("Fail to stop SingletonRedisRegionFactory.", ignored); } } }
@Override @Synchronized public void stop() { if (this.redis == null) return; if (referenceCount.decrementAndGet() == 0) { log.debug("RedisRegionFactory is stopping..."); try { redis.shutdown(); redis = null; cacheTimestamper = null; log.info("RedisRegionFactory is stopped."); } catch (Exception ignored) { log.error("Fail to stop SingletonRedisRegionFactory.", ignored); } } }
@Override @Synchronized public void stop() { if (redis == null) return; log.debug("Stopping RedisRegionFactory..."); try { redis.shutdown(); redis = null; cacheTimestamper = null; log.info("RedisRegionFactory is stopped."); } catch (Exception ignored) { log.error("Fail to stop RedisRegionFactory.", ignored); } }
@Override @Synchronized public void stop() { if (redis == null) return; log.debug("Stopping RedisRegionFactory..."); try { redis.shutdown(); redis = null; cacheTimestamper = null; log.info("RedisRegionFactory is stopped."); } catch (Exception ignored) { log.error("Fail to stop RedisRegionFactory.", ignored); } }
@Override @Synchronized public void stop() { if (redis == null) return; log.debug("Stopping RedisRegionFactory..."); try { redis.shutdown(); redis = null; cacheTimestamper = null; log.info("RedisRegionFactory is stopped."); } catch (Exception ignored) { log.error("Fail to stop RedisRegionFactory.", ignored); } }
@Override @Synchronized public void stop() { if (redis == null) return; log.debug("Stopping RedisRegionFactory..."); try { redis.shutdown(); redis = null; cacheTimestamper = null; log.info("RedisRegionFactory is stopped."); } catch (Exception ignored) { log.error("Fail to stop RedisRegionFactory.", ignored); } }
@Override @Synchronized public void stop() { if (this.redis == null) return; if (referenceCount.decrementAndGet() == 0) { log.debug("RedisRegionFactory is stopping..."); try { redis.shutdown(); redis = null; cacheTimestamper = null; log.info("RedisRegionFactory is stopped."); } catch (Exception ignored) { log.error("Fail to stop SingletonRedisRegionFactory.", ignored); } } }
@Override @Synchronized public void stop() { if (this.redis == null) return; if (referenceCount.decrementAndGet() == 0) { log.debug("RedisRegionFactory is stopping..."); try { redis.shutdown(); redis = null; cacheTimestamper = null; log.info("RedisRegionFactory is stopped."); } catch (Exception ignored) { log.error("Fail to stop SingletonRedisRegionFactory.", ignored); } } }
@Override @Synchronized public void stop() { if (this.redis == null) return; if (referenceCount.decrementAndGet() == 0) { log.debug("RedisRegionFactory is stopping..."); try { redis.shutdown(); redis = null; cacheTimestamper = null; log.info("RedisRegionFactory is stopped."); } catch (Exception ignored) { log.error("Fail to stop SingletonRedisRegionFactory.", ignored); } } }
@Override @Synchronized public void stop() { if (this.redis == null) return; if (referenceCount.decrementAndGet() == 0) { log.debug("RedisRegionFactory is stopping..."); try { redis.shutdown(); redis = null; cacheTimestamper = null; log.info("RedisRegionFactory is stopped."); } catch (Exception ignored) { log.error("Fail to stop SingletonRedisRegionFactory.", ignored); } } }
@Override public void stop() { if (redis == null || redis.isShutdown()) return; log.debug("Stopping RedisRegionFactory..."); try { redis.shutdown(); redis = null; cacheTimestamper = null; log.info("RedisRegionFactory is stopped."); } catch (Exception e) { log.error("Fail to stop RedisRegionFactory.", e); throw new CacheException(e); } }
@Override public void stop() { if (redis == null || redis.isShutdown()) return; log.debug("Stopping RedisRegionFactory..."); try { redis.shutdown(); redis = null; cacheTimestamper = null; log.info("RedisRegionFactory is stopped."); } catch (Exception e) { log.error("Fail to stop RedisRegionFactory.", e); throw new CacheException(e); } }
@Override public void stop() { if (redis == null || redis.isShutdown()) return; log.debug("Stopping RedisRegionFactory..."); try { redis.shutdown(); redis = null; cacheTimestamper = null; log.info("RedisRegionFactory is stopped."); } catch (Exception e) { log.error("Fail to stop RedisRegionFactory.", e); throw new CacheException(e); } }