protected void returnBrokenResourceObject(final T resource) { try { internalPool.invalidateObject(resource); } catch (Exception e) { throw new JedisException("Could not return the resource to the pool", e); } }
protected void returnBrokenResourceObject(final Redisson resource) { try { internalPool.invalidateObject(resource); } catch (Exception e) { throw new com.hm.RedssionPoolException("Could not return the resource to the pool", e); } }