/** * Returns the key of the last lock acquired, within the current scope. * * <p><i>Note: This method is intended for advanced use cases.</i> * * @return locked key; instance is not cloned * @throws IllegalStateException if no locks held */ public final byte[] lastLockedKey() { return peek().mKey; }
/** * Returns the index id of the last lock acquired, within the current scope. * * <p><i>Note: This method is intended for advanced use cases.</i> * * @return locked index id * @throws IllegalStateException if no locks held */ public final long lastLockedIndex() { return peek().mIndexId; }
/** * Returns the index id of the last lock acquired, within the current scope. * * <p><i>Note: This method is intended for advanced use cases.</i> * * @return locked index id * @throws IllegalStateException if no locks held */ public final long lastLockedIndex() { return peek().mIndexId; }
/** * Returns the key of the last lock acquired, within the current scope. * * <p><i>Note: This method is intended for advanced use cases.</i> * * @return locked key; instance is not cloned * @throws IllegalStateException if no locks held */ public final byte[] lastLockedKey() { return peek().mKey; }
/** * Returns the key of the last lock acquired, within the current scope. * * <p><i>Note: This method is intended for advanced use cases.</i> * * @return locked key; instance is not cloned * @throws IllegalStateException if no locks held */ public final byte[] lastLockedKey() { return peek().mKey; }
/** * Returns the index id of the last lock acquired, within the current scope. * * <p><i>Note: This method is intended for advanced use cases.</i> * * @return locked index id * @throws IllegalStateException if no locks held */ public final long lastLockedIndex() { return peek().mIndexId; }