public void refreshLock(OpenJPAStateManager sm, int level, int timeout, Object sdata) { try { _refreshing = true; commonLock(sm, level, timeout, sdata, false); } finally { _refreshing = false; } }
public void refreshLock(OpenJPAStateManager sm, int level, int timeout, Object sdata) { try { _refreshing = true; commonLock(sm, level, timeout, sdata, false); } finally { _refreshing = false; } }
public void refreshLock(OpenJPAStateManager sm, int level, int timeout, Object sdata) { try { _refreshing = true; commonLock(sm, level, timeout, sdata, false); } finally { _refreshing = false; } }
/** * Delegates to {@link #lockInternal} after traversing to owning * instance (if embedded) and assuring that the instance is persistent, * is not new, and is not already locked at a higher level. After * locking, calls {@link #setLockLevel} with the given level. */ public void lock(OpenJPAStateManager sm, int level, int timeout, Object sdata) { commonLock(sm, level, timeout, sdata, !_refreshing); }
public void refreshLock(OpenJPAStateManager sm, int level, int timeout, Object sdata) { try { _refreshing = true; commonLock(sm, level, timeout, sdata, false); } finally { _refreshing = false; } }
/** * Delegates to {@link #lockInternal} after traversing to owning * instance (if embedded) and assuring that the instance is persistent, * is not new, and is not already locked at a higher level. After * locking, calls {@link #setLockLevel} with the given level. */ public void lock(OpenJPAStateManager sm, int level, int timeout, Object sdata) { commonLock(sm, level, timeout, sdata, !_refreshing); }
/** * Delegates to {@link #lockInternal} after traversing to owning * instance (if embedded) and assuring that the instance is persistent, * is not new, and is not already locked at a higher level. After * locking, calls {@link #setLockLevel} with the given level. */ public void lock(OpenJPAStateManager sm, int level, int timeout, Object sdata) { commonLock(sm, level, timeout, sdata, !_refreshing); }
/** * Delegates to {@link #lockInternal} after traversing to owning * instance (if embedded) and assuring that the instance is persistent, * is not new, and is not already locked at a higher level. After * locking, calls {@link #setLockLevel} with the given level. */ public void lock(OpenJPAStateManager sm, int level, int timeout, Object sdata) { commonLock(sm, level, timeout, sdata, !_refreshing); }