public void unlock() { if (_state.ctx != null) _state.ctx.unlock(); }
public void unlock() { if (_state.ctx != null) _state.ctx.unlock(); }
public void unlock() { if (_state.ctx != null) _state.ctx.unlock(); }
public void unlock() { if (_state.ctx != null) _state.ctx.unlock(); }
public void unlock() { if (_state.ctx != null) _state.ctx.unlock(); }
public void close() throws SQLException { // lock at broker level to avoid deadlocks _ctx.lock(); try { _refs--; if (_refs <= 0 && !_retain) free(); } finally { _ctx.unlock(); } }
public void close() throws SQLException { // lock at broker level to avoid deadlocks _ctx.lock(); try { _refs--; if (_refs <= 0 && !_retain) free(); } finally { _ctx.unlock(); } }
public void close() throws SQLException { // lock at broker level to avoid deadlocks _ctx.lock(); try { _refs--; if (_refs <= 0 && !_retain) free(); } finally { _ctx.unlock(); } }
public void close() throws SQLException { // lock at broker level to avoid deadlocks _ctx.lock(); try { _refs--; if (_refs <= 0 && !_retain) free(); } finally { _ctx.unlock(); } }
public void close() throws SQLException { // lock at broker level to avoid deadlocks _ctx.lock(); try { _refs--; if (_refs <= 0 && !_retain) free(); } finally { _ctx.unlock(); } }
/** * Connect to the db. */ private void connect(boolean ref) { _ctx.lock(); try { // connect if the connection is currently null, or if // the connection has been closed out from under us if (_conn == null) _conn = connectInternal(); if (ref) _conn.ref(); } catch (SQLException se) { throw SQLExceptions.getStore(se, _dict); } finally { _ctx.unlock(); } }
/** * Connect to the db. */ private void connect(boolean ref) { _ctx.lock(); try { // connect if the connection is currently null, or if // the connection has been closed out from under us if (_conn == null) _conn = connectInternal(); if (ref) _conn.ref(); } catch (SQLException se) { throw SQLExceptions.getStore(se, _dict); } finally { _ctx.unlock(); } }
/** * Connect to the db. */ private void connect(boolean ref) { _ctx.lock(); try { // connect if the connection is currently null, or if // the connection has been closed out from under us if (_conn == null) _conn = connectInternal(); if (ref) _conn.ref(); } catch (SQLException se) { throw SQLExceptions.getStore(se, _dict); } finally { _ctx.unlock(); } }
/** * Connect to the db. */ private void connect(boolean ref) { _ctx.lock(); try { // connect if the connection is currently null, or if // the connection has been closed out from under us if (_conn == null) _conn = connectInternal(); if (ref) _conn.ref(); } catch (SQLException se) { throw SQLExceptions.getStore(se, _dict); } finally { _ctx.unlock(); } }
/** * Connect to the db. */ private void connect(boolean ref) { _ctx.lock(); try { // connect if the connection is currently null, or if // the connection has been closed out from under us if (_conn == null) _conn = connectInternal(); if (ref) _conn.ref(); } catch (SQLException se) { throw SQLExceptions.getStore(se, _dict); } finally { _ctx.unlock(); } }