@Override public LockResult lockUpgradable(Transaction txn, byte[] key) throws LockFailureException, ViewConstraintException { return mSource.lockUpgradable(txn, key); }
@Override public LockResult lockUpgradable(Transaction txn, byte[] key) throws LockFailureException, ViewConstraintException { return mSource.lockUpgradable(txn, key); }
@Override public LockResult lockUpgradable(Transaction txn, byte[] key) throws LockFailureException, ViewConstraintException { return mSource.lockUpgradable(txn, key); }
@Override public LockResult lockUpgradable(Transaction txn, byte[] key) throws LockFailureException, ViewConstraintException { return mSource.lockUpgradable(txn, key); }
@Override public LockResult lockUpgradable(Transaction txn, byte[] key) throws LockFailureException, ViewConstraintException { return mSource.lockUpgradable(txn, key); }
@Override public LockResult lockUpgradable(Transaction txn, byte[] key) throws LockFailureException, ViewConstraintException { return mSource.lockUpgradable(txn, key); }
@Override public LockResult lockUpgradable(Transaction txn, byte[] key) throws LockFailureException, ViewConstraintException { return mSource.lockUpgradable(txn, key); }
@Override public final LockResult lockUpgradable(Transaction txn, byte[] key) throws LockFailureException, ViewConstraintException { return mSource.lockUpgradable(txn, applyPrefix(key)); }
@Override public final LockResult lockUpgradable(Transaction txn, byte[] key) throws LockFailureException, ViewConstraintException { return mSource.lockUpgradable(txn, applyPrefix(key)); }
@Override public LockResult lockUpgradable(Transaction txn, byte[] key) throws LockFailureException, ViewConstraintException { LockResult r1 = mFirst.lockUpgradable(txn, key); LockResult r2; try { r2 = mSecond.lockUpgradable(txn, key); } catch (Throwable e) { throw ViewUtils.lockCleanup(e, txn, r1); } return lockCombine(txn, r1, r2); }
@Override public final LockResult lockUpgradable(Transaction txn, byte[] key) throws LockFailureException, ViewConstraintException { return mSource.lockUpgradable(txn, applyPrefix(key)); }
@Override public final LockResult lockUpgradable(Transaction txn, byte[] key) throws LockFailureException, ViewConstraintException { if (inRange(key)) { return mSource.lockUpgradable(txn, key); } throw fail(); }
@Override public final LockResult lockUpgradable(Transaction txn, byte[] tkey) throws LockFailureException, ViewConstraintException { byte[] key = inverseTransformKey(tkey); if (key != null) { return mSource.lockUpgradable(txn, key); } throw fail(); }
@Override public final LockResult lockUpgradable(Transaction txn, byte[] tkey) throws LockFailureException, ViewConstraintException { byte[] key = inverseTransformKey(tkey); if (key != null) { return mSource.lockUpgradable(txn, key); } throw fail(); }
@Override public final LockResult lockUpgradable(Transaction txn, byte[] key) throws LockFailureException, ViewConstraintException { if (inRange(key)) { return mSource.lockUpgradable(txn, key); } throw fail(); }
@Override public final LockResult lockUpgradable(Transaction txn, byte[] key) throws LockFailureException, ViewConstraintException { if (inRange(key)) { return mSource.lockUpgradable(txn, key); } throw fail(); }
@Override public final LockResult lockUpgradable(Transaction txn, byte[] tkey) throws LockFailureException, ViewConstraintException { byte[] key = inverseTransformKey(tkey); if (key != null) { return mSource.lockUpgradable(txn, key); } throw fail(); }
return lockUpgradable(txn, key); } else { return lockShared(txn, key);