Package org.antublue.test.engine.extras
Class Locks
java.lang.Object
org.antublue.test.engine.extras.Locks
Class to implement Locks
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classClass to implement LockReference -
Method Summary
Modifier and TypeMethodDescriptionstatic Durationexecute(Object key, Executable executable) Deprecated.static Locks.LockReferencegetReference(Object key) Method to get a LockReference
-
Method Details
-
getReference
Method to get a LockReference- Parameters:
key- key- Returns:
- a LockReference
-
execute
Deprecated.Method to execute an Executable in a lock- Parameters:
key- keyexecutable- executable- Returns:
- the Duration
- Throws:
Throwable- Throwable
-