Package io.bdeploy.jersey
Class JerseyWriteLockService
java.lang.Object
io.bdeploy.jersey.JerseyWriteLockService
Keeps track of all locks for locking resources
There is potentially a ReentrantReadWriteLock per registered resource as soon as every resource is used once. Locks are
never cleared.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interfaceMarks a resource as 'locking'.static @interfaceSpecifies that the annotated method should lock the write-lock of theJerseyWriteLockService.LockingResourceinstead of the read-lock. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
JerseyWriteLockService
public JerseyWriteLockService()
-
-
Method Details
-
getLock
-