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