Package deltix.util.io.waitstrat
Class InterprocessLock
- java.lang.Object
-
- deltix.util.io.waitstrat.InterprocessLock
-
- All Implemented Interfaces:
deltix.util.lang.Disposable
,java.io.Closeable
,java.lang.AutoCloseable
public class InterprocessLock extends java.lang.Object implements deltix.util.lang.Disposable
-
-
Constructor Summary
Constructors Constructor Description InterprocessLock(java.lang.String name)
Named system event.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
void
signal()
void
waitFor()
Wait for 'set' state.
-
-
-
Method Detail
-
waitFor
public void waitFor()
Wait for 'set' state. Than event auto-resets.
-
signal
public void signal()
-
close
public void close()
- Specified by:
close
in interfacejava.lang.AutoCloseable
- Specified by:
close
in interfacejava.io.Closeable
- Specified by:
close
in interfacedeltix.util.lang.Disposable
-
-