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 TypeMethodDescriptionMetaDataKey.getLockKey()Get theLockKeyassociated with this key -
Uses of LockKey in com.plotsquared.core.synchronization
Methods in com.plotsquared.core.synchronization that return LockKeyModifier and TypeMethodDescriptionGet a new named lock keyMethods in com.plotsquared.core.synchronization with parameters of type LockKeyModifier and TypeMethodDescriptionGet the lock corresponding to the given lock keyWait 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