public class KeyedSemaphore extends Object
| Constructor and Description |
|---|
KeyedSemaphore() |
| Modifier and Type | Method and Description |
|---|---|
void |
enterIOCriticalSection(String key) |
void |
leaveIOCriticalSection(String key) |
void |
remove(String key) |
public void leaveIOCriticalSection(String key)
public void remove(String key)
public void enterIOCriticalSection(String key) throws IOException
IOExceptionCopyright © 2014. All Rights Reserved.