public class DbMutex extends Object
To use this, create this table:
CREATE TABLE mutex (name VARCHAR(100)) ENGINE=InnoDB;
Modifier and Type | Method and Description |
---|---|
void |
acquire(DbTransaction tx) |
public String name
public DbMutex(String name)
public void acquire(DbTransaction tx)