public Map<String,String> names() throws IOException
Locks
names
in interface Locks
IOException
- If failspublic String lock(String name, String label) throws IOException
Locks
lock
in interface Locks
name
- Unique name of the locklabel
- Label to attachIOException
- If failspublic void unlock(String name) throws IOException
Locks
unlock
in interface Locks
name
- Unique name of the lockIOException
- If failspublic String unlock(String name, String label) throws IOException
Locks
unlock
in interface Locks
name
- Unique name of the locklabel
- Label to matchIOException
- If failsCopyright © 2014–2015 teamed.io. All rights reserved.