MCPcopy Create free account
hub / github.com/awelm/simpledb / grabLock

Method grabLock

test/simpledb/LockingTest.java:84–97  ·  view source on GitHub ↗

Generic unit test structure to grab an additional lock in a new thread. @param tid the transaction Id @param pid the first page to lock over @param perm the type of lock desired @param expected true if we expect the acquisition to succeed; false otherwise

(TransactionId tid, PageId pid, Permissions perm,
      boolean expected)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

metaLockTesterMethod · 0.95

Calls 3

acquiredMethod · 0.95
getErrorMethod · 0.95
startMethod · 0.45

Tested by

no test coverage detected