Locker

class Locker(mol: Molecule, sync: Any)

Properties

Link copied to clipboard
val mol: Molecule
Link copied to clipboard
val sequence: AtomicInteger

incremented every time the molecule is unlocked

Link copied to clipboard
val sync: Any

The object on which to synchronize before using the molecule