@Immutable
public interface Lock
String name()
boolean lock()
throws IOException
IOException - If any problem insidevoid unlock()
throws IOException
IOException - If any problem insideboolean lock(String label) throws IOException
label - Label to attachIOException - If any problem insideboolean unlock(String label) throws IOException
label - Label to attachIOException - If any problem insideCopyright © 2014–2015 stateful.co. All rights reserved.