protected void closeInternalPool() {
   try {
     internalPool.close();
   } catch (Exception e) {
     throw new com.hm.RedssionPoolException("Could not destroy the pool", e);
   }
 }
Beispiel #2
0
 protected void closeInternalPool() {
   try {
     internalPool.close();
   } catch (Exception e) {
     throw new JedisException("Could not destroy the pool", e);
   }
 }
Beispiel #3
0
 public synchronized void destory() {
   if (status != 1) {
     throw new RuntimeException("client is not init or aready destory");
   } else {
     status = 2;
   }
   pool.close();
 }