/** * Asserts that there is a valid pool entry. * * @throws ConnectionShutdownException if there is no pool entry * or connection has been aborted * * @see #assertValid(OperatedClientConnection) */ protected void assertValid(final AbstractPoolEntry entry) { if (isReleased() || entry == null) { throw new ConnectionShutdownException(); } }
/** * Asserts that there is a valid pool entry. * * @throws ConnectionShutdownException if there is no pool entry * or connection has been aborted * * @see #assertValid(OperatedClientConnection) */ protected void assertValid(final AbstractPoolEntry entry) { if (isReleased() || entry == null) { throw new ConnectionShutdownException(); } }
/** * Asserts that there is a valid pool entry. * * @throws ConnectionShutdownException if there is no pool entry * or connection has been aborted * * @see #assertValid(OperatedClientConnection) */ protected void assertValid(final AbstractPoolEntry entry) { if (isReleased() || entry == null) { throw new ConnectionShutdownException(); } }
/** * Asserts that there is a valid pool entry. * * @throws ConnectionShutdownException if there is no pool entry * or connection has been aborted * * @see #assertValid(OperatedClientConnection) */ protected void assertValid(final AbstractPoolEntry entry) { if (isReleased() || entry == null) { throw new ConnectionShutdownException(); } }