Package io.tlf.jme.jfx.lock
Interface AsyncReadSyncWriteLock
-
- All Known Implementing Classes:
AtomicReadWriteLock,FinalAtomicReadWriteLock
public interface AsyncReadSyncWriteLockThe interface for implementing async reading and sync writing lock.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidasyncLock()Lock any writing for reading.voidasyncUnlock()Finish this reading and unlock any writing if it is last reading.voidsyncLock()Lock any reading for writing.voidsyncUnlock()Finish this writing and unlock any readings.
-