Package me.desair.tus.server.upload
Interface UploadLock
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
FileBasedLock
Interface that represents a lock on an upload
-
Method Details
-
getUploadUri
String getUploadUri()Get the upload URI of the upload that is locked by this lock- Returns:
- The URI of the locked upload
-
release
void release()Method to release the lock on an upload when done processing it. It's possible that this method is called multiple times within the same request -
close
- Specified by:
close
in interfaceAutoCloseable
- Throws:
IOException
-