@Immutable public interface Locks
Modifier and Type | Field and Description |
---|---|
static int |
MAX
Maximum allowed per account.
|
static final int MAX
Map<String,String> names() throws IOException
IOException
- If failsString lock(String name, String label) throws IOException
name
- Unique name of the locklabel
- Label to attachIOException
- If failsvoid unlock(String name) throws IOException
name
- Unique name of the lockIOException
- If failsString unlock(String name, String label) throws IOException
name
- Unique name of the locklabel
- Label to matchIOException
- If failsCopyright © 2014–2015 teamed.io. All rights reserved.