Package org.axonframework.common.lock
Class NoOpLock
java.lang.Object
org.axonframework.common.lock.NoOpLock
- All Implemented Interfaces:
AutoCloseable,Lock
- Since:
- 4.5.11
- Author:
- Steven van Beelen
-
Field Details
-
INSTANCE
-
-
Method Details
-
release
public void release()Description copied from interface:LockReleases this lock. If this lock is already released or no longer valid, the behavior of this method is undefined. -
isHeld
public boolean isHeld()Description copied from interface:LockIndicates whether the lock is still ownedtrue, or whether it has been releasedfalse.
-