public interface OSGiHandler
HttpHandler.
Defines locking model for processing and removal of handler.| Modifier and Type | Method and Description |
|---|---|
ReentrantReadWriteLock.ReadLock |
getProcessingLock()
Processing lock.
|
ReentrantReadWriteLock.WriteLock |
getRemovalLock()
Removal lock.
|
ReentrantReadWriteLock.ReadLock getProcessingLock()
ReentrantReadWriteLock.ReadLock can be obtained by concurrent threads at the same time.ReentrantReadWriteLock.WriteLock getRemovalLock()
ReentrantReadWriteLock.WriteLock can be obtained only by one thread, blocks getProcessingLock().getProcessingLock(),
ReentrantReadWriteLock.WriteLockCopyright © 2020 Oracle Corporation. All Rights Reserved.