Package co.stateful
Interface Locks
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanexists(String name)Does it exist?Lockget(String name)Get one lock by name.
-
-
-
Method Detail
-
exists
boolean exists(String name) throws IOException
Does it exist?- Parameters:
name- Name of lock- Returns:
- TRUE if the lock exists
- Throws:
IOException- If fails- Since:
- 0.10
-
get
Lock get(String name) throws IOException
Get one lock by name.- Parameters:
name- Name of lock- Returns:
- Lock
- Throws:
IOException- If fails
-
-