Uses of Class
com.plotsquared.core.synchronization.LockKey
Packages that use LockKey
-
Uses of LockKey in com.plotsquared.core.player
Methods in com.plotsquared.core.player that return LockKeyModifier and TypeMethodDescription@NonNull LockKeyMetaDataKey.getLockKey()Get theLockKeyassociated with this key -
Uses of LockKey in com.plotsquared.core.synchronization
Methods in com.plotsquared.core.synchronization that return LockKeyMethods in com.plotsquared.core.synchronization with parameters of type LockKeyModifier and TypeMethodDescription@NonNull LockGet the lock corresponding to the given lock key@NonNull LockRepository.LockAccessWait for a lock to be available, lock it and return anAutoCloseableinstance that locks the key.voidWait for the lock to become available, and run the given runnable, then unlock the lock.voidConsume a lock