public class ProcessMutex
extends java.lang.Object
| Constructor and Description |
|---|
ProcessMutex(int port)
Constructor.
|
public ProcessMutex(int port)
port - synchronization TCP portpublic void lock()
throws java.lang.InterruptedException
java.lang.InterruptedException - in case of timeoutjava.lang.IllegalStateException - in case lock is already acquiredpublic void unlock()
java.lang.IllegalStateException - DOCUMENTME