Package org.liquigraph.core.io.lock
Class LiquigraphLock
- java.lang.Object
-
- org.liquigraph.core.io.lock.LiquigraphLock
-
public class LiquigraphLock extends Object
Shared lock proxy using references on the connections to create and remove the lock node, more or less like performing garbage collection by reference counting. It keeps references instead of simply counting to be able to remove the lock using the shutdown hook.
-
-
Constructor Detail
-
LiquigraphLock
public LiquigraphLock(Supplier<Connection> connection)
-
-