return musicCore.acquireLockWithLease(key, lockId, leasePeriod);
}
- public static String createLockReference(String fullyQualifiedKey) {
+ public static String createLockReference(String fullyQualifiedKey) throws MusicLockingException {
return musicCore.createLockReference(fullyQualifiedKey);
}
return musicCore.whoseTurnIsIt(fullyQualifiedKey);
}
- public static void destroyLockRef(String lockId) {
+ public static void destroyLockRef(String lockId) throws MusicLockingException {
musicCore.destroyLockRef(lockId);
}
return musicCore.validateLock(lockName);
}
- public static MusicLockState releaseLock(String lockId, boolean voluntaryRelease) {
+ public static MusicLockState releaseLock(String lockId, boolean voluntaryRelease) throws MusicLockingException {
return musicCore.releaseLock(lockId, voluntaryRelease);
}
-}
\ No newline at end of file
+}